Wiki source for insufficientMemoryAvailableError
======**insufficientMemoryAvailableError**======
#define insufficientMemoryAvailableError() error("Failed to allocate memory for the heap")
**Parms**: NONE
**return**: NONE, fake return of zero
**From**: Interpreter
**Why**:
Terminate message if we cannot allocate the requested memory needed for the image
**Responsibility**:
When the image starts up, we first determine if we can allocation enough memory for the image, if not that results in the insufficientMemorySpecifiedError error. However we might think we can allocation the memory, but when we do the attempt we
find out it cannot be allocated, if so then this define is invoked.
**MacIntosh**
//os-9/OSXCarbon//
See comments about insufficientMemorySpecifiedError
//Cocoa://
See iPhone
**iPhone**
#define insufficientMemoryAvailableError() plugInNotifyUser("There is not enough memory to give Squeak the amount specified by the Setting Slider")
**Unix**
**Windows**
**BUGS**
The macintosh version needs to be check
#define insufficientMemoryAvailableError() error("Failed to allocate memory for the heap")
**Parms**: NONE
**return**: NONE, fake return of zero
**From**: Interpreter
**Why**:
Terminate message if we cannot allocate the requested memory needed for the image
**Responsibility**:
When the image starts up, we first determine if we can allocation enough memory for the image, if not that results in the insufficientMemorySpecifiedError error. However we might think we can allocation the memory, but when we do the attempt we
find out it cannot be allocated, if so then this define is invoked.
**MacIntosh**
//os-9/OSXCarbon//
See comments about insufficientMemorySpecifiedError
//Cocoa://
See iPhone
**iPhone**
#define insufficientMemoryAvailableError() plugInNotifyUser("There is not enough memory to give Squeak the amount specified by the Setting Slider")
**Unix**
**Windows**
**BUGS**
The macintosh version needs to be check