Re: Rob: Out of memory + broken shorthand assignment operators in expressio

new topic     » topic index » view thread      » older message » newer message

jacques deschĂȘnes wrote:
> 
> Vincent,
> windows allocate a 2GB of memory space to each process it create. 
> (This is linear virutal memory space) . So when you increase your swap file
> to 
> 4 GB  your application still have only 2GB addressing space. This is a
> limitation
> of 32Bits processors, as 32 bits pointers can only address 4GB, (windows
> reserve
> 
> 2GB for itsef).  This is why 64bits processors and windows 64 are coming
> to the market now, to push that limit further.
> 
> regards,
> Jacques DeschĂȘnes

Thanks Jacques, that probably explains everything.

It seems by adding "/3GB" parameter in boot.ini, you can set the kernel 
to allocate only 1 GB of virtual memory, thus giving the user's programs upto 3
GB of virtual memory. 32-bit applications on Windows x64 will get the full 4 GB
without needing any special boot parameters.

This is all assuming that the applications were compiled using a "Large Address
Aware" flag. With this said, I think EXW/EXWC.exe would need to
be compiled with that flag; EMAKE.bat would need to have it for building Windows
translated apps. Unfortuantly, I dont know what the Watcom, Borland, and LCC
equivalent of "/LARGEADDRESSAWARE" is. :/


Regards,
Vincent

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu