OpenLog - Feature Request: LScriptMemoryAlloc / LScriptMemoryAllocOS trace with option.....
Hi,
we often ran into a mem / timing problem and then your openlog is perfect!(Thanks) I have added following lines to Trace the LSI Memory / MemoryOS / blocks to demonstrate / find a Problem with large arrays / lists that blowing up our background agents on Server ;-)
I could send you the whole Database if required!
Thomas.Balatka@kufnet.at
Initialize -->
'** if you're really paranoid about using the LSI_Info function, set this variable
'** to True so it won't be used. Please note that there will be NO Memory
'** stack trace information logged if you do this, though.
NoLSIMemoryTrace = False
==============================================================
(Declarations)
'** if you're really paranoid about using the LSI_Info function, set this variable
'** to True so it won't be used. Please note that there will be NO Memory
'** stack trace information logged if you do this, though.
Dim NoLSIMemoryTrace As Integer
===========================================================
Function CreateLogDoc
If NoLSIMemoryTrace Then
'Do nothing Fields, hidden
Else
logDoc.LScriptMemoryAlloc = (Lsi_info(50) / 1024) ' Calc to KB
logDoc.LScriptMemoryAllocOS =(Lsi_info(51) / 1024) ' Calc to KB
logDoc.LScriptMemoryBlocks = Lsi_info(52)
End If
Taken Actions by OwnersNo actions have been taken yet.