Re: [BLACKBOX] Why BlackBox consumes 80% of its virtual address space at startup?

From: [at]} <Georgy>
Date: Sat, 2 Jul 2011 11:33:32 +0200

----boundary-LibPST-iamunique-498501259_-_-
Content-type: text/plain

As far as I understand 1.5 GB is allocated for heap memory at the
start and is never given back only if BB is started in usual
interactive mode.
If BB module is compiled as a dll, then it does release allocated
virtual memory.
These two memory allocation modes are controlled by a variable Kernel.dllMem.

So, my suggestion is not to change the constant M in
SystemKernel.AllocHeapMem, but to change dllMem := inDll to dllMem =
TRUE in the initialization section of Kernel and to recompile Kernel.

Regards,
Georgy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-498501259_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEFzIGZhciBhcyBJIHVuZGVyc3RhbmQgMS41IEdC
IGlzIGFsbG9jYXRlZCBmb3IgaGVhcCBtZW1vcnkgYXQgdGhlXHBhcg0Kc3RhcnQgYW5kIGlzIG5l
dmVyIGdpdmVuIGJhY2sgb25seSBpZiBCQiBpcyBzdGFydGVkIGluIHVzdWFsXHBhcg0KaW50ZXJh
Y3RpdmUgbW9kZS5ccGFyDQpJZiBCQiBtb2R1bGUgaXMgY29tcGlsZWQgYXMgYSBkbGwsIHRoZW4g
aXQgZG9lcyByZWxlYXNlIGFsbG9jYXRlZFxwYXINCnZpcnR1YWwgbWVtb3J5LlxwYXINClRoZXNl
IHR3byBtZW1vcnkgYWxsb2NhdGlvbiBtb2RlcyBhcmUgIGNvbnRyb2xsZWQgYnkgYSB2YXJpYWJs
ZSBLZXJuZWwuZGxsTWVtLlxwYXINClxwYXINClNvLCBteSBzdWdnZXN0aW9uIGlzIG5vdCB0byBj
aGFuZ2UgIHRoZSBjb25zdGFudCBNIGluXHBhcg0KU3lzdGVtS2VybmVsLkFsbG9jSGVhcE1lbSwg
YnV0IHRvIGNoYW5nZSBkbGxNZW0gOj0gaW5EbGwgdG8gZGxsTWVtID1ccGFyDQpUUlVFIGluIHRo
ZSBpbml0aWFsaXphdGlvbiBzZWN0aW9uIG9mIEtlcm5lbCBhbmQgdG8gcmVjb21waWxlIEtlcm5l
bC5ccGFyDQpccGFyDQpSZWdhcmRzLFxwYXINCkdlb3JneVxwYXINClxwYXINClxwYXINCi0tLS1c
cGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJM
QUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0h9fQBoXzhn
----boundary-LibPST-iamunique-498501259_-_---
Received on Sat Jul 02 2011 - 11:33:32 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:12 UTC