An interesting run as it is not ending by a simple OutOfMemory but with a lot of weird elements
[PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceMemTest philippeback$] ./pharo Pharo.image
memtest.st 1200 1024000
uptime 0h0m0s
memory 25,004,456 bytes
old 19,213,080 bytes (76.80000000000001%)
young 4,584 bytes (0.0%)
used 19,217,664 bytes (76.9%)
free 5,786,792 bytes (23.1%)
GCs 7 (106ms between GCs)
full 2 totalling 156ms (21.1% uptime), avg 78.0ms
incr 5 totalling 10ms (1.3% uptime), avg 2.0ms
tenures 0
allocating: 1200 times 1024000 bytes
allocated: 1.23 GB
time to run 0:00:01:18.93
3 times GC
time to run 0:00:00:00.833
uptime 0h1m20s
memory -896,717,100 bytes
old -899,440,000 bytes (100.30000000000001%)
young 7,552 bytes (0.0%)
used -899,432,448 bytes (100.30000000000001%)
free 2,715,348 bytes (-0.30000000000000004%)
GCs 2,406 (33ms between GCs)
full 1201 totalling 79,315ms (98.5% uptime), avg 66.0ms
incr 1205 totalling 215ms (0.30000000000000004% uptime), avg 0.2ms
tenures 0
Since last view 2,399 (33ms between GCs)
uptime 79.80000000000001s
full 1199 totalling 79,159ms (99.2% uptime), avg 66.0ms
incr 1200 totalling 205ms (0.30000000000000004% uptime), avg 0.2ms
tenures 0
[PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceMemTest philippeback$] ./pharo Pharo.image
memtest.st 1500 1024000
uptime 0h0m0s
memory 25,004,444 bytes
old 19,213,696 bytes (76.80000000000001%)
young 5,384 bytes (0.0%)
used 19,219,080 bytes (76.9%)
free 5,785,364 bytes (23.1%)
GCs 7 (99ms between GCs)
full 2 totalling 129ms (18.7% uptime), avg 64.5ms
incr 5 totalling 9ms (1.3% uptime), avg 1.8ms
tenures 0
allocating: 1500 times 1024000 bytes
===============================================================================
Notice: Errors in script loaded from /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceMemTest/
memtest.st===============================================================================
Errors in script loaded from /Users/philippeback/Documents/Smalltalk/2-MyWorkspaces/workspaceMemTest/
memtest.st==== Startup Error: OutOfMemory
ByteArray class(Behavior)>>basicNew:
ByteArray class(Behavior)>>new:
UndefinedObject>>DoIt in Block: [t6...
SmallInteger(Integer)>>timesRepeat:
UndefinedObject>>DoIt in Block: [:t6 | t1...
Array class(SequenceableCollection class)>>new:streamContents:
UndefinedObject>>DoIt in Block: [t4 := Array...
Time class>>millisecondsToRun:
BlockClosure>>timeToRun
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:
DoItDeclaration>>import
CodeImporter>>evaluate in Block: [:decl | value := decl import]
OrderedCollection>>do:
CodeImporter>>evaluate
BasicCodeLoader>>installSourceFile: in Block: [codeImporter evaluate]
BlockClosure>>on:do:
BasicCodeLoader>>handleErrorsDuring:reference:
BasicCodeLoader>>installSourceFile:
BasicCodeLoader>>installSourceFiles in Block: [:reference | self installSourceFile: reference]
OrderedCollection>>do:
BasicCodeLoader>>installSourceFiles in Block: [sourceFiles...
BlockClosure>>ensure:
BasicCodeLoader>>installSourceFiles
BasicCodeLoader>>activate
BasicCodeLoader class(CommandLineHandler class)>>activateWith:
DefaultCommandLineHandler>>handleSubcommand
out of memory
Smalltalk stack dump:
0xbffd3f38 M BlockClosure>ifError: 0x7aad665c: a(n) BlockClosure
0xbffd3f5c M [] in Semaphore>critical:ifError: 0x1f62f350: a(n) Semaphore
0xbffd3f7c M [] in Semaphore>critical: 0x1f62f350: a(n) Semaphore
0xbffd3f9c M BlockClosure>ensure: 0x7aad6578: a(n) BlockClosure
0xbffb15c4 M Semaphore>critical: 0x1f62f350: a(n) Semaphore
0xbffb15e4 M Semaphore>critical:ifError: 0x1f62f350: a(n) Semaphore
0xbffb1604 M WeakRegistry>protected: 0x1f62f318: a(n) WeakRegistry
0xbffb162c M WeakRegistry>finalizeValues 0x1f62f318: a(n) WeakRegistry
0xbffb1648 M [] in WeakArray class>finalizationProcess 0x1f7fd4e0: a(n) WeakArray class
0xbffb1664 M BlockClosure>on:do: 0x7aad6310: a(n) BlockClosure
0xbffb1684 M BlockClosure>on:fork: 0x7aad6310: a(n) BlockClosure
0xbffb16a4 M [] in WeakArray class>finalizationProcess 0x1f7fd4e0: a(n) WeakArray class
0xbffb16c8 M WeakArray(SequenceableCollection)>do: 0x1f502290: a(n) WeakArray
0xbffb16e4 M [] in WeakArray class>finalizationProcess 0x1f7fd4e0: a(n) WeakArray class
0xbffb1704 M [] in Semaphore>critical: 0x2074d594: a(n) Semaphore
0xbffb1724 M BlockClosure>ensure: 0x7aad621c: a(n) BlockClosure
0xbffb1744 M Semaphore>critical: 0x2074d594: a(n) Semaphore
0xbffb1760 M WeakArray class>finalizationProcess 0x1f7fd4e0: a(n) WeakArray class
0xbffb1780 I [] in WeakArray class>restartFinalizationProcess 0x1f7fd4e0: a(n) WeakArray class
0xbffb17a0 I [] in BlockClosure>newProcess 0x2074d600: a(n) BlockClosure
Most recent primitives
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
wait
wait
signal
wait
signal
wait
signal
signal
basicNew:
basicNew
class
at:put:
wait
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
wait
wait
signal
wait
signal
wait
signal
signal
basicNew:
basicNew
class
at:put:
wait
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
wait
wait
signal
wait
signal
wait
signal
signal
basicNew:
basicNew
class
at:put:
wait
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
shallowCopy
wait
wait
./pharo: line 11: 41423 Abort trap: 6 � � � � � "$DIR"/"pharo-vm/Pharo.app/Contents/MacOS/Pharo" --headless "$@"
[PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceMemTest philippeback$]