- 32 bit GAMS under 32 bit Windows gives you a 2 GB process limit in theory (in practice this is 1.6 GB).
- 32 bit GAMS under 32 bit Windows with /3GB flag. It is possible to configure Windows XP to get you 3 GB per process (a little bit less in practice). Here is more info: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx and http://technet.microsoft.com/en-us/library/bb124810.aspx. On Vista this is different: you need to use BCDEDIT as follows (you need administrator rights):
bcdedit /set IncreaseUserVa 3072
See http://www.prophotowiki.com/w/index.php/IncreaseUserVa for notes. Warning: you may want to ask your system administrator to do this for you. - 32 bit GAMS under 64 bit Windows. This gives you close to 4 GB.
- 64 bit GAMS under 64 bit Windows. This gives you even more. Some NLP solvers still have a 8GB limit but otherwise you can go much higher. Note that 64 bit GAMS is using more memory than 32 bit GAMS (pointers are 64 bit instead of 32 bit). So if you only have 3 or 4 GB RAM it does not buy you much using the 64 bit GAMS version.
I am a full-time consultant and provide services related to the design, implementation and deployment of mathematical programming, optimization and data-science applications. I also teach courses and workshops. Usually I cannot blog about projects I am doing, but there are many technical notes I'd like to share. Not in the least so I have an easy way to search and find them again myself. You can reach me at erwin@amsterdamoptimization.com.
Wednesday, June 11, 2008
memory availability under GAMS
Under Windows we have the following possible cases:
Subscribe to:
Post Comments (Atom)
I have a Cplex 32 bit under a 64 bit windows XP. But the system do not let more than 2 GB of ram. Any suggestion and advice will appreciate.
ReplyDeleteBest Regards,
Behnam
May be a poorly configured machine. One would need to know more to answer this question. It would be best to contact your Cplex vendor for advice (I would add some logs with evidence of your problem).
ReplyDelete