Re: Managing memory usage & big sequences

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

I am assuming that this is a 64 bit OS as few 32 bit systems can use that much 32 GB RAM. At the present time there is no native 64 bit version of Euphoria, although there is one in development. The major problem you will face then will be the limited 2GB virtual address space available to a 32 bit process. This is completely independent of how much RAM you have. Applications have no knowledge of what physical memory addresses they are using.

The best option would be to wait until the 64 bit version is released. The virtual address space available to a 64 bit process is 8192 GB, at least for Windows. This is also independent of RAM size.

If you attempt to allocate memory and it fails (usually due to a shortage of virtual address space) the function will return zero. There will be no crash unless you attempt to use the invalid address returned. A shortage of RAM would normally result in poor performance, not cause a failure. Exceeding the commit limit would cause a failure but that shouldn't happen with a reasonably sized pagefile.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu