You don't say what OS you're using, so I'll have to be very general.  It means 
you've run out of virtual memory.  You need to increase the space.  It's called 
a "paging file" in Windows and "swap partition" in Unix/Linux.  Note you can 
also use a file for swap space in Unix, but the traditional allocation has been 
a separate disk partition.

When disk was expensive, the rule of thumb was swap = 4 X DRAM.  However, disk 
is now so cheap I use swap = 8 x DRAM.
If you don't need the space it has no effect on performance.  It's just wasted 
disk space.

DRAM is hundreds of times faster than a hard drive, so there's a big 
performance hit if you start paging.  If you can't add more DRAM to your 
system, adding a solid state disk for swap space will be much faster than a 
regular hard drive.

Have Fun!
Reg

--- On Mon, 7/16/12, David Myers <[email protected]> wrote:

From: David Myers <[email protected]>
Subject: [Help-glpk] glp_malloc: no memory available
To: [email protected]
Date: Monday, July 16, 2012, 12:44 PM

Hello,
I am building an LP using GLPK_4_47 in eclipse and am receiving the error:


glp_malloc: no memory availableError detected in file ..\src\glpenv05.c at line 
70Exception in thread "main" org.gnu.glpk.GlpkException: function glp_add_rows 
failed
        at org.gnu.glpk.GLPKJNI.glp_add_rows(Native Method)     at 
org.gnu.glpk.GLPK.glp_add_rows(GLPK.java:230)
        at 
cmif.LPWeighting.LPWeighting.developIMinusKConstraintsMax(LPWeighting.java:234) 
     at cmif.LPWeighting.LPWeighting.singleOutputMaxLP(LPWeighting.java:56)
        at tests.MassSamplingLPTest.main(MassSamplingLPTest.java:30)
If anyone has any help at all, it would be much appreciated.  Thanks.

--David

-----Inline Attachment Follows-----

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to