After the recent discussion about freeing large array storage, I decided to
take another crack at fixing this problem. My largeobject sandbox branch is
my latest attempt at this. This version is actually simpler than the
current one, which never really fixed the issues. This version treats "big"
objects differently and will return the memory to the system when the
object is garbage collected. A "big" object is currently defined as greater
than 1/2 meg for the 32-bit version and 1 meg for the 64-bit version.
Debugging this also uncovered a couple of bugs in the current memory
manager (already fixed).

A big part of the simplification came from removing a bit of baggage from
the original OS/2 code that doesn't really apply any more. Removing that,
allowed a lot of additional code to be deleted that probably was never
getting used any way. I'm fairly happy with this version, though I might
tweak some of the tuning parameters a little as I throw some additional
tests at it.

Rick
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to