Prim error returns (was Re: [squeak-dev] The Primitive: I am not a number- I am a named prim! - SqueakPeople article)

John M McIntosh johnmci at smalltalkconsulting.com
Wed Jul 2 07:01:59 UTC 2008


>
> OK; be aware that there is a pathological case that might impact  
> your code in this area, mostly restricted to non-virtual memory  
> systems. Somewhere in the GC code it will try to grab more memory  
> for forwarding blocks and if none is provided by the OS (as in RISC  
> OS for example) then some of the reserved space will be stolen  
> *without* proper checks and notifications. This can result in the  
> system trying to handle a lowSpace with only a few hundred bytes of  
> free memory. It doesn't go so well after that.... I've been trying  
> to find relevant emails to illustrate better but no luck so far. I'm  
> reasonably sure we never came up with a good solution but the  
> problem surfaced about 4 years ago and just possibly got fixed  
> somewhere.

Ah, well let me see if I can find them then.

--
= 
= 
= 
========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================





More information about the Squeak-dev mailing list