(unknown charset) - Memory leak bug report
----boundary-LibPST-iamunique-1689366505_-_-
Content-type: text/plain
Hello!
> Whome to blame for the leak is questionable, is it
> Windows (which does not really understand the notion
> of a temporary file) or BlackBox which most probably
> has no chance in returning newly allocated objects
> since it is sent to sleep forcedly before getting
> a chance to call the garbage collector and is asked
> to allocate again a new object just after waking up.
I think the Sleep has nothing to do with it, since we don't use
HostMenus' main event-processing loop in this case.
The garbage collector should be invoked by the NEW routine (implemented
in the Kernel module) when there is not enough free memory to allocate
the requested object. For some reason it does not collect unused
variables, but requests more memory from the OS instead.
As Ilya Ermakov at oberoncore.ru have noted, this may have something to
do with the fact that file variables have a finalizer attached. The
finalized variables are handled differently, cf. Kernel.Collect and
Kernel.FastCollect.
---===---
Alexander
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1689366505_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIVxwYXINClxwYXINCj4gV2hvbWUgdG8g
YmxhbWUgZm9yIHRoZSBsZWFrIGlzIHF1ZXN0aW9uYWJsZSwgaXMgaXRccGFyDQo+IFdpbmRvd3Mg
KHdoaWNoIGRvZXMgbm90IHJlYWxseSB1bmRlcnN0YW5kIHRoZSBub3Rpb25ccG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0b1xwYXINCmRvIHdpdGggdGhl
IGZhY3QgdGhhdCBmaWxlIHZhcmlhYmxlcyBoYXZlIGEgZmluYWxpemVyIGF0dGFjaGVkLiBUaGVc
cGFyDQpmaW5hbGl6ZWQgdmFyaWFibGVzIGFyZSBoYW5kbGVkIGRpZmZlcmVudGx5LCBjZi4gS2Vy
bmVsLkNvbGxlY3QgYW5kXHBhcg0KS2VybmVsLkZhc3RDb2xsZWN0LlxwYXINClxwYXINCi0tLT09
PT09LS0tXHBhcg0KIEFsZXhhbmRlclxwYXINClxwYXINCi0tLSBCbGFja0JveFxwYXINCi0tLSBz
ZW5kIHN1YmplY3QgSEVMUCBvciBVTlNVQlNDUklCRSB0byBibGFja2JveEBvYmVyb24uY2hccGFy
DQpccGFyDQp9
----boundary-LibPST-iamunique-1689366505_-_---
Received on Fri May 11 2007 - 10:44:52 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:31:36 UTC