Funny fact

Henrik Gedenryd Henrik.Gedenryd at lucs.lu.se
Fri Aug 25 16:24:51 UTC 2000


Raymond Asselin wrote:

>> x _ Array new: 1.
>> x at: 1 put: x.
>> x <alt-p>
> 
> My result:
> 
> out of memory
> 
> 105770780 Semaphore>critical:ifError:
> 93249512 WeakArray class>doesNotUnderstand:
> 93249624 [] in WeakArray class>doesNotUnderstand:
> 93249716 [] in BlockContext>doesNotUnderstand:
> 

Sorry guys, this prints:

#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(
#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(
...etc...

on my 2.8 (2344) image and a 2.9 Mac VM.

Your problem is most likely in the printing (you tend--err, I did at
least--to disregard the <alt-p> when looking at the code snippet).

Perhaps you don't have a lot of free memory (I do).

Henrik






More information about the Squeak-dev mailing list