Re: Memory limits?

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
I've just tested myself with a binary compiled with --disable-generational-gc.

It does not help probably, as I can reproduce your problem also with --disable-generational-gc.

# cat memory.st 
"by David Stes -

test to measure memory size (RSS and/or SIZE) of gst process"

| d a b |

a := 100000.
b := 100000.

d := OrderedCollection new.
1 to: a do: [ :i |
  1 to: b do: [ :j |
   d add: Object new
 ]
] !

results in 

[Memory allocation failure]
Can't allocate enough memory to continue.

in my case it only seems to have consumed 166 MB of memory

 26589 stes      166M  161M stop     0    0   0:00:31  30% gst/1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.