Search found 71 matches: collector

Return to advanced search

Re: garbage collector?

Moshe,

You should call hb_gcAll() from time to time, mainly after doing some work from your EXE, so the garbage collector cleans all the unused memory.
by Antonio Linares
Wed Nov 18, 2009 10:24 am
 
Forum: FiveWin for Pocket PC
Topic: garbage collector?
Replies: 6
Views: 1427

garbage collector?

... It doesn't happen every time. It seems that it happens just after using the application few times. That is the reason I was thinking about garbage collector. Thanks, Moshe Yarden
by yardenmo
Wed Nov 18, 2009 9:46 am
 
Forum: FiveWin for Pocket PC
Topic: garbage collector?
Replies: 6
Views: 1427

Re: Realizar un instructivo o ayuda

... disculpas... no funciona: http://rapidshare.com/files/255896628/T ... a.rar.html Error This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times. This limit is reached. To download this file, the uploader either needs to transfer ...
by dobfivewin
Thu Jul 16, 2009 10:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Realizar un instructivo o ayuda
Replies: 9
Views: 1423

Re: FWH/xHarbour Menus

... // V. ::obrush:End() ::obrush := NIL // becomes --> "U" endif // V. #ifdef __HARBOUR__ SysRefresh() hb_gcAll() // Garbage collector #endif // ? 'END finished', valtype(::obrush) --> "U" return .t. //----------------------------------------------------------------------------// ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7761

Re: No libera la memoria cuando genero pdf

... garbage collection, even if there are only few memory objects to collect. If <lForce> is omitted, or set to .F. (false), the garbage collector is not invoked when there is little or no garbage to collect. Return The return value is always NIL. Description xHarbour's garbage collector ...
by sygecom
Tue Mar 10, 2009 2:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: No libera la memoria cuando genero pdf
Replies: 7
Views: 2023

... would want to store the reference to the xHarbour object passed to the C function Basically you have to block the object to avoid that the garbage collector destroys it. I recommend you to review the source code of the extend system and the item api. We manage PHB_ITEMs (pointer to "items" managed ...
by Antonio Linares
Mon Oct 06, 2008 11:35 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Some technical help please
Replies: 9
Views: 3631

Clipper Errors

... this be the correct way of initializing the array after use. If the array is a LOCAL variable I think it would be better to leave tothe garbage collector the responsibility of deallocating the memory. -------------------------------------------------------------------------------- I saw your ...
by Antonio Linares
Wed Aug 27, 2008 7:44 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 66145

Moises,

We are talking about Windows GDI objects here.

Anyhow, thanks for your info. Though I guess its Harbour responsability to release all created objects from Classes, as a result of its garbage collector activity.
by Antonio Linares
Sun Aug 03, 2008 10:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Which objects must be released explicitly
Replies: 27
Views: 4283

Frank,

Thats a very little memory increase. Its not a problem, as Harbour calls the garbage collector from time to time

Are you using Borland controls in that dialogbox ? How do you End() the dialog ? Please show us a portion of the source code, thanks
by Antonio Linares
Tue Nov 27, 2007 3:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can not create dialog 7.11
Replies: 15
Views: 2583

... Button 'Close' Size 60, 20 Pixel Action oWnd : End () Activate Window oWnd hb_gcAll() hb_gcAll() invokes the Harbour garbage collector. Anyhow, we keep doing more tests.
by Antonio Linares
Fri Oct 13, 2006 1:00 am
 
Forum: FiveWin for Pocket PC
Topic: Properly method to destroy objects
Replies: 8
Views: 2201

... If you are going to store a Harbour item into it, then you should call hb_gcGripGet( PHB_ITEM ) and hb_gcGripDrop( PHB_ITEM ) to avoid the garbage collector to destroy that item.
by Antonio Linares
Fri Jan 06, 2006 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: _xvalloc _xvfree _xvlock _xvunlock
Replies: 7
Views: 2016
Previous

Return to advanced search