[Squeak-ev] Primitive: 71 und VM freeze

Klaus D. Witzel klaus.witzel at cobss.com
Mit Aug 23 10:42:03 UTC 2006


Phillipe,

hab zwar'n Debian, aber so eins nicht. ABER: auf der 3.7-1 VM mit dem  
Squeak3.7-5989 .image bekomme ich KEINE Low Space notification mehr mit  
folgendem snippet:

| tmp |
   tmp := Dictionary new.
   [true]
   whileTrue: [tmp := tmp at: tmp clone put: tmp; yourself]

Anstelle dessen ruft mein OS in Redmond an und verlangt mehr Virtual  
Memory! Das könnte genau Dein Problem sein.

Was passiert denn bei Dir mit den beiden snippets?

/Klaus

On Wed, 23 Aug 2006 11:55:33 +0200, Philippe wrote:

> 2006/8/23, Klaus D. Witzel <klaus.witzel at cobss.com>:
>> Phillipe,
>>
>> habe primitive: 71 wie folgt "belastet" (Code erzeugt etliche grow's),
>>
>> | tmp |
>>   tmp := OrderedCollection new.
>>   [true]
>>   whileTrue: [tmp := tmp addLast: tmp; yourself]
>>
>> Aber ich bekomme "nur" die erwartete Low Space notification.
>>
>> Hast Du noch mehr Angaben (Squeak release, platform, Seaside?). Wird
>> LowSpaceSemaphore von Deiner Applikation behandelt?
>
> $squeak -version
> 3.7-7 #1 Don Okt 20 11:25:27 CEST 2005 gcc-Version (Debian
> Squeak3.7 of '4 September 2004' [latest update: #5989]
> Linux superstar 2.6.10 #1 Tue Dec 28 21:16:21 CET 2004 i686 GNU/Linux
> default plugin location: /usr/local/lib/squeak/3.7-7/*.so
>
> $gcc --version
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is  
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
> PURPOSE.
>
> Wahrscheinlich, bin mir nicht 100% ig sicher, wurde die VM damit
> kompiliert. Die sourcen wurden von squeakvm.org runtergeladen und dann
> kompiliert.
>
> Image: Squeak3.7-5989
> Seaside ist irgend ein 2.6a2 mit SeaisideAsync
>
> Das obere Ende eines Traces so aus:
> 2129677776 Behavior>new:
> 2129677668 Set>grow
> 2129677576 Set>fullCheck
> 2129677484 Set>atNewIndex:put:
> 2129677392 Dictionary>at:put:
>
> Die Applikation berührt die LowSpaceSemaphore nicht.
>
> Noch einmal danke, dass du dir das anschaust.
>
> Philippe