Bug 47396

GemStone/S 64 Bit


All Platforms

3.5, 3.4.1

GsBitmap writeToFile: on an empty bitmap triggers AlmostOutOfMemory error

Using method GsBitmap>>writeToFile: on an empty bitmap triggers an AlmostOutOfMemory error.  For example:

     GsBitmap new writeToFile: <filename>
ERROR 2208 , a AlmostOutOfMemory occurred (notification 2208), Host memory allocation failed; there is insufficient swap space and/or RAM. (AlmostOutOfMemory)


Check GsBitmap>>size and if zero, skip the writeToFile:.

Last updated: 12/17/19