Need help on VO Error - 31 [ LIMIT EXCEEDED ]. |
|
My regards for all users.
I'm having errors 31 [ LIMIT EXCEEDED ] in one of my VO made aplications and have some questions and workround about...
To help me sove the problem, I made a new class Error{} and use it to log more information about in log file.
On start function of the app, I'm doing this:
function Start()
local oApp as VORioApp
SetMaxDynSize(100663296)
SetWipeDynSpace(true)
oApp:=VORioApp{}
__SetAppObject(oApp)
ErrorBlock( {|oError| VORioDefError(oError)} )
if IsMethod(oApp,#Start)
Send(oApp,#Start)
endif
And I have the info in log file like this:
====================== log file begin ======================
Visual Objects (Version 2.8. Build 3.2838), Version 2.8 SP4
Windows 7 Ultimate (Version 6.1, Build 7600)
29/08/2014 02:09:45
Aplicativo: C:\Arquivos de Programas\VORio\Hidro\Hidro.exe
Menssagem de Erro:
-*-------------*-
Codigo do Erro: 31 [ LIMIT EXCEEDED ]
Sub Sistema: BASE
Função: REGISTERAXIT
CallStack (8):
PGSQLSELECT:EXECUTE (Linha: 12)
OPERACIONALENTREGASPANE:BUILDENTREGAS (Linha: 47)
OPERACIONALITENSPANE:BNOTIFY (Linha: 7)
PGBBROWSER:NOTIFY (Linha: 6)
PGBBROWSER:RELOADDATA (Linha: 30)
PGSQLDIALOGWINDOW:REFRESHDATACONTAINERS (Linha: 21)
PGSQLDIALOGWINDOW:PBOK (Linha: 46)
DIALOGWINDOW:DISPATCH (Linha: 22)
Gerenciador de Memória:
DynInfoSize: 13504Kb <-- DynInfoSize()*64
DynInfoUsed: 13555Kb <-- DynInfoUsed()/1024
DynInfoFree: 84748Kb <-- DynInfoFree()/1024
DynInfoMax : 98304Kb <-- DynInfoMax()/1024
Reg. KID : 7302 <-- Memory(MEMORY_REGISTERKID)
Stack Free : 995648b <-- Memory(MEMORY_STACK_FREE)
Stack Total: 1007616b <-- Memory(MEMORY_STACK_SIZE)
Objeto de Erro Criado:
---------------------
SubSystem :BASE
SubCode :0
GenCode :Limit exceeded
OsCode :0
ArgType :NIL
FuncPtr :0x00000000
ArgNum :0
FuncSym :REGISTERAXIT
Severity :0
CanDefault :.F.
CanRetry :.F.
CanSubstitute :.F.
Operation :
Description :
FileName :
Tries :0
FileHandle :0
SubCodeText :
Arg :
ArgTypeReq :NIL
MaxSize :16000
SubstituteType :NIL
CallFuncSym :
--------------------
====================== log file end ======================
And I can see in this log that DynInfoUsed is greater than DynInfoSize.
But I don't sure if my use of the Dyn... functions is right and the data are realy true.
And not sure if I can do more to help me solve this problem.
If any can help me please...
Thanks a lot!
Lucio Chiessi
Rio de Janeiro - Brazil
|
Re: Need help on VO Error - 31 [ LIMIT EXCEEDED ]. |
|
Inject CollectForced() function into any heavy processing loops.
Jamal
"Lucio Chiessi" wrote in message
news:d077896c-c562-42bb-922a-a42cff9048c2@googlegroups.com...
My regards for all users.
I'm having errors 31 [ LIMIT EXCEEDED ] in one of my VO made aplications and
have some questions and workround about...
To help me sove the problem, I made a new class Error{} and use it to log
more information about in log file.
On start function of the app, I'm doing this:
function Start()
local oApp as VORioApp
SetMaxDynSize(100663296)
SetWipeDynSpace(true)
oApp:=VORioApp{}
__SetAppObject(oApp)
ErrorBlock( {|oError| VORioDefError(oError)} )
if IsMethod(oApp,#Start)
Send(oApp,#Start)
endif
And I have the info in log file like this:
====================== log file begin ======================
Visual Objects (Version 2.8. Build 3.2838), Version 2.8 SP4
Windows 7 Ultimate (Version 6.1, Build 7600)
29/08/2014 02:09:45
Aplicativo: C:\Arquivos de Programas\VORio\Hidro\Hidro.exe
Menssagem de Erro:
-*-------------*-
Codigo do Erro: 31 [ LIMIT EXCEEDED ]
Sub Sistema: BASE
Função: REGISTERAXIT
CallStack (8):
PGSQLSELECT:EXECUTE (Linha: 12)
OPERACIONALENTREGASPANE:BUILDENTREGAS (Linha: 47)
OPERACIONALITENSPANE:BNOTIFY (Linha: 7)
PGBBROWSER:NOTIFY (Linha: 6)
PGBBROWSER:RELOADDATA (Linha: 30)
PGSQLDIALOGWINDOW:REFRESHDATACONTAINERS (Linha: 21)
PGSQLDIALOGWINDOW:PBOK (Linha: 46)
DIALOGWINDOW:DISPATCH (Linha: 22)
Gerenciador de Memória:
DynInfoSize: 13504Kb <-- DynInfoSize()*64
DynInfoUsed: 13555Kb <-- DynInfoUsed()/1024
DynInfoFree: 84748Kb <-- DynInfoFree()/1024
DynInfoMax : 98304Kb <-- DynInfoMax()/1024
Reg. KID : 7302 <-- Memory(MEMORY_REGISTERKID)
Stack Free : 995648b <-- Memory(MEMORY_STACK_FREE)
Stack Total: 1007616b <-- Memory(MEMORY_STACK_SIZE)
Objeto de Erro Criado:
---------------------
SubSystem :BASE
SubCode :0
GenCode :Limit exceeded
OsCode :0
ArgType :NIL
FuncPtr :0x00000000
ArgNum :0
FuncSym :REGISTERAXIT
Severity :0
CanDefault :.F.
CanRetry :.F.
CanSubstitute :.F.
Operation :
Description :
FileName :
Tries :0
FileHandle :0
SubCodeText :
Arg :
ArgTypeReq :NIL
MaxSize :16000
SubstituteType :NIL
CallFuncSym :
--------------------
====================== log file end ======================
And I can see in this log that DynInfoUsed is greater than DynInfoSize.
But I don't sure if my use of the Dyn... functions is right and the data are
realy true.
And not sure if I can do more to help me solve this problem.
If any can help me please...
Thanks a lot!
Lucio Chiessi
Rio de Janeiro - Brazil
|