[mercury-users] Forcing garbage collection

Michael Day mikeday at yeslogic.com
Thu Dec 23 19:21:58 AEDT 2010


Hi,

Is it possible to force a garbage collection in asm_fast.gc?

There is gc.garbage_collect, but if I'm reading it correctly it appears 
to be a no-op in asm_fast.gc.

(I'm interested in forcing garbage collecting at certain points in 
program execution in order to get a better idea of total memory usage 
without being distracted by memory that the program has allocated, but 
currently contains garbage and will be reclaimed later).

Best regards,

Michael

-- 
Print XML with Prince!
http://www.princexml.com
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list