Out of Memory in New or GetMem

Hi

I am trying to solve a model. When I tried to solve on my PC, Windows 32 bit and 4 GB RAM, I received the below error:

Out of Memory in New or GetMem
HeapLimit 1820 MB HeapSize = 1872 MB

Exit Code = 10

Then I found a 64 bit PC with 4 GB RAM and I received the below error:

Out of Memory in New or GetMem
HeapLimit 1820 MB HeapSize = 12930 MB

Exit Code = 10

Below is the screenshot of the latest error log:

Error Log Screenshot

I appreaciate any guidance on what I should do.

Regards,
Caglar


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Here is the heap statistics:

Heap Statistics for heap: BBMgr
Memory in use = 1,786 Mb
Highest memory used = 1,786 Mb
Large blocks available = 0

Statistics for small heap: gheap

Nr Allocated Slot #GetMem #FreeMem #FreeList
#Used
1 520 Kb 1- 8 66,622 11 1,163
66,611
2 1,191 Mb 9- 16 361,610,981 283,565,636 0
78,045,345
3 591 Mb 17- 24 25,824,444 0 0
25,824,444
4 3,008 b 25- 32 94 0 0
94
5 440 b 33- 40 32 21 10
11
8 320 b 57- 64 5 0 0
5
12 20 Kb 89- 96 218 0 0
218
13 0 b 97-104 11 11 1
0
24 768 b 185-192 4 0 0
4
32 6,400 b 249-256 25 0 0
25


Totals 1,782 Mb 387,502,436 283,565,679 1,174
103,936,757
Small block heap = 1,783 Mb (in 3565 blocks of 512 Kb each)
There are 8 other live blocks using 3,333 Kb
Highest memory mark 3,336 Kb
Live block statistics
#GetMem = 65
#FreeMem = 55
#ReAlloc = 5
ReAllocUsed = 320
#GetMem64 = 0
#FreeMem64 = 0
#ReAlloc64 = 0
ReAllocUsed64 = 0

String Heap Statistics

StrStore = 406
StrStoreQ = 0
StrTxtStore = 81
StrPCharStore = 0
StrGet = 1,303
StrSetQuote = 264
StrGetQuote = 0
StrGetPChar = 0
StrGetLen = 0


*** Out of memory
*** HeapLimit = 1E20 MB HeapSize = 1873 MB




On Monday, April 27, 2015 at 12:01:40 PM UTC+3, Caglar Utku Guler wrote:

Hi

I am trying to solve a model. When I tried to solve on my PC, Windows 32 bit and 4 GB RAM, I received the below error:

Out of Memory in New or GetMem
HeapLimit 1820 MB HeapSize = 1872 MB

Exit Code = 10

Then I found a 64 bit PC with 4 GB RAM and I received the below error:

Out of Memory in New or GetMem
HeapLimit 1820 MB HeapSize = 12930 MB

Exit Code = 10

Below is the screenshot of the latest error log:

Error Log Screenshot

I appreaciate any guidance on what I should do.

Regards,
Caglar


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

It might be an internal limit of of GAMS itself. You could probably increase the heaplimit using

Option heaplimit = 1e21;



Renger



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Caglar Utku Guler
Sent: Montag, 27. April 2015 23:55
To: gamsworld@googlegroups.com
Subject: Re: Out of Memory in New or GetMem



Here is the heap statistics:



Heap Statistics for heap: BBMgr

Memory in use = 1,786 Mb

Highest memory used = 1,786 Mb

Large blocks available = 0



Statistics for small heap: gheap



Nr Allocated Slot #GetMem #FreeMem #FreeList

#Used

1 520 Kb 1- 8 66,622 11 1,163

66,611

2 1,191 Mb 9- 16 361,610,981 283,565,636 0

78,045,345

3 591 Mb 17- 24 25,824,444 0 0

25,824,444

4 3,008 b 25- 32 94 0 0

94

5 440 b 33- 40 32 21 10

11

8 320 b 57- 64 5 0 0

5

12 20 Kb 89- 96 218 0 0

218

13 0 b 97-104 11 11 1

0

24 768 b 185-192 4 0 0

4

32 6,400 b 249-256 25 0 0

25



Totals 1,782 Mb 387,502,436 283,565,679 1,174

103,936,757

Small block heap = 1,783 Mb (in 3565 blocks of 512 Kb each)

There are 8 other live blocks using 3,333 Kb

Highest memory mark 3,336 Kb

Live block statistics

#GetMem = 65

#FreeMem = 55

#ReAlloc = 5

ReAllocUsed = 320

#GetMem64 = 0

#FreeMem64 = 0

#ReAlloc64 = 0

ReAllocUsed64 = 0



String Heap Statistics



StrStore = 406

StrStoreQ = 0

StrTxtStore = 81

StrPCharStore = 0

StrGet = 1,303

StrSetQuote = 264

StrGetQuote = 0

StrGetPChar = 0

StrGetLen = 0





*** Out of memory

*** HeapLimit = 1E20 MB HeapSize = 1873 MB








On Monday, April 27, 2015 at 12:01:40 PM UTC+3, Caglar Utku Guler wrote:

Hi



I am trying to solve a model. When I tried to solve on my PC, Windows 32 bit and 4 GB RAM, I received the below error:



Out of Memory in New or GetMem

HeapLimit 1820 MB HeapSize = 1872 MB



Exit Code = 10



Then I found a 64 bit PC with 4 GB RAM and I received the below error:



Out of Memory in New or GetMem

HeapLimit 1820 MB HeapSize = 12930 MB



Exit Code = 10



Below is the screenshot of the latest error log:



Error Log Screenshot



I appreaciate any guidance on what I should do.



Regards,

Caglar






\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.