help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory limits?


From: address@hidden
Subject: Re: Memory limits?
Date: Mon, 21 Sep 2020 16:26:32 +0200 (CEST)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]