Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Sun Feb 20, 2005 7:30 am Post subject: Allocating more than 2 GB of memory |
|
|
Have you read this post?
[url="http://forums.silverfrost.com/forums/forum.asp?forumid=3&page=0&select=186#xx186xx"]http://forums.silverfrost.com/forums/forum.asp?forumid=3&page=0&select=186#xx186xx[/url]
You also need to set a flag in the executable header using editbin.exe, specifically IMAGE_FILE_LARGE_ADDRESS_AWARE. See the following page for info on editbin:
[url="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_editbin_command_line.asp"]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_editbin_command_line.asp[/url]
Doing all of this does not guarantee that you will get more than 2GB however. There may be libraries loaded by third-party vendors that could be loaded at an address that prevents allocation of the amount of memory you need. There is another option to get more memory than those outlined in previous threads , and that means moving to a 64bit processor and OS, specifically AMD capable (I do not know about Itanium). Even though FTN95 is a 32bit compiler, when running on 64bit OS/processor (still as a 32bit app) there is a larger available address space for user applications.
If FTN95 is giving you the error you describe, this is being returned from the OS. |
|