On Thursday 24 April 2008 05:56:54 am Miguel Angel Marchuet wrote: > __objHasData( oObject, cSymbol ) returns .T. for SETGET METHOD > and returns .F. for __objHasMethod( oObject, cSymbol ) > > And other functions as follows, has the same problem: > __objGetMsgList( oObject, lDataMethod, nClassType ) > __objGetMethodList( oObject ) > __objGetMsgFullList( oObject, lData, nRange, nScope, nNoScope ) > > > We are trying to create a destroyer method how initializes > all used data, recovering its memory. for example an application > which consumes 20Mg of memory has been reduced to 4Mg only
Can you provide a small code snippet to show us the problem and how the solution works ? > > Interesting, or not? > > But we need that SETGET METHOD will be a METHOD not a DATA. > > Any body can change this ? > > An make this functions at c level ? I've found some situations where inside a loop which executes several times (thousands), and several classes are created & destroyed inside, then effectively the application starts to eat lots of memory whitout realease it. The solution was simply to put somewhere inside the loop the hb_gcAll() function and the memory consumption never grows up. best regards Teo _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
