Re: FW: [BLACKBOX] memory allocation limits

From: [at]} <Robert>
Date: Fri, 25 Jan 2008 21:16:44 +0000

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

Hello Bernhard

Yes, you have guessed my (home) address.

I don't quite understand what you attached.

Have you changed the two lines from:

CONST M = 1536 * 100000H; (* 1.5 GByte *)
CONST N = 65536; (* cluster size for dll *)

to

CONST M = 512* 100000H;
CONST N = 512* 100000H; ?

I shall try increasing the first line to 1800 and see if I can use
more memory, but it will take me a few days to find the time!

Cheers

Robert


Treutwein Bernhard wrote:
>
> --
> Bernhard Treutwein, Ref. IIIA3
> bernhard treutwein (at) verwaltung uni-muenchen de
>
> -----Original Message-----
> From: Treutwein Bernhard
> Hi Bob,
>
> a second try ...
>
> Sent: Thursday, January 24, 2008 9:31 AM
> To: 'robert.campbell{([at]})nowhere.xy
> Subject: RE: [BLACKBOX] memory allocation limits
>
>
> Hi Bob & Thomas,
>
>> CONST M = 1536 * 100000H; (* 1.5 GByte *)
>>
>> I wonder if it could be safely increased to, say, 1.8 GByte?
>>
>> (How does one recompile the Kernel which, I guess, is linked
>> into BlackBox.exe?)
>>
>
> PROCEDURE AllocHeapMem (size: INTEGER; VAR c: Cluster);
> (* allocate at least size bytes, typically at least 256
> kbytes are allocated *)
> CONST M = 1536 * 100000H; (* 1.5 GByte *)
> CONST N = 65536; (* cluster size for dll *)
>
> M & N are local CONSTs to AllocHeapMem and --- if I
> understand the comment correctly, are the chunk/cluster
> sizes for additional memory if the first chunk/cluster
> is exhausted.
>
> It appears to me, but I'm not sure that for DLLs ist
> limited to a 16bit addressable chunk. I doubt that is a
> limitation of XP, it may be a left-over from Win 9x and
> even there I have problems to believe it. So I tried
> to change both to 512MB, which is the size of the installed
> physical memory on my current desktop PC and recompile
> the Kernel. Re-linking the Kernel is done with the
> following command (see example 1 in DevLinker docu):
>
> (CtrlQ) DevLinker.Link
> BigBox.exe := Kernel$+ Files HostFiles StdLoader
> 1 Applogo.ico 2 Doclogo.ico 3 SFLogo.ico
> 4 CFLogo.ico 5 DtyLogo.ico
> 1 Move.cur 2 Copy.cur 3 Link.cur 4 Pick.cur
> 5 Stop.cur 6 Hand.cur 7 Table.cur
>
> Strangely this results in a slightly smaller exe than the
> distributed 87552 bytes vs. 89088 bytes.
>
> regards to you both
>
> Bernhard
>
> PS1: Bob: I hope I have guessed your address correctly
>
> PS2: I don't have time to do additional checks if everything
> is working correctly ... so I include the std-coded here:
>
> StdCoder.Decode 0ZqN0x4SiI4S

----boundary-LibPST-iamunique-1624638854_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIEJlcm5oYXJkXHBhcg0KXHBhcg0KWWVz
LCB5b3UgaGF2ZSBndWVzc2VkIG15IChob21lKSBhZGRyZXNzLlxwYXINClxwYXINCkkgZG9uJ3Qg
cXVpdGUgdW5kZXJzdGFuZCB3aGF0IHlvdSBhdHRhY2hlZC5ccGFyDQpccGFyDQpIYXZlIHlvdSBj
aGFuZ2VkIHRoZSB0d28gbGluZXMgZnJvbTpccGFyDQpccGFyDQpDT05TVCBNID0gMTUzNiAqIDEw
MDAwMEg7XHRhYiAoKiAxLjUgR0J5dGUgKilccGFyDQpDT05TVCBOID0gNjU1MzY7XHRhYiAoKiBj
bHVzdGVyIHNpemUgZm9y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YmxlLmN1clxwYXINCj4gXHBh
cg0KPiBTdHJhbmdlbHkgdGhpcyByZXN1bHRzIGluIGEgc2xpZ2h0bHkgc21hbGxlciBleGUgdGhh
biB0aGVccGFyDQo+IGRpc3RyaWJ1dGVkIDg3NTUyIGJ5dGVzIHZzLiA4OTA4OCBieXRlcy5ccGFy
DQo+IFxwYXINCj4gcmVnYXJkcyB0byB5b3UgYm90aFxwYXINCj4gXHBhcg0KPiAgICBCZXJuaGFy
ZFxwYXINCj4gXHBhcg0KPiBQUzE6IEJvYjogSSBob3BlIEkgaGF2ZSBndWVzc2VkIHlvdXIgYWRk
cmVzcyBjb3JyZWN0bHlccGFyDQo+IFxwYXINCj4gUFMyOiBJIGRvbid0IGhhdmUgdGltZSB0byBk
byBhZGRpdGlvbmFsIGNoZWNrcyBpZiBldmVyeXRoaW5nIFxwYXINCj4gaXMgd29ya2luZyBjb3Jy
ZWN0bHkgLi4uIHNvIEkgaW5jbHVkZSB0aGUgc3RkLWNvZGVkIGhlcmU6XHBhcg0KPiBccGFyDQo+
IFN0ZENvZGVyLkRlY29kZSAwWnFOMHg0U2lJNFN9fQBZV2x1


----boundary-LibPST-iamunique-1624638854_-_---
Received on Fri Jan 25 2008 - 22:16:44 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:07 UTC