Bug 46054

GemStone/S 64 Bit

3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8.1, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2, 3.1.0.6, 3.1.0.5, 3.1.0.4, 3.1.0.3, 3.1.0.2, 3.1.0.1, 3.1

All Platforms

3.2.13

System>>hiddenSetEnumerate:limit: can hit out of memory errors

Due to a logic error in the handling of Map Entries (ME), executing System>>hiddenSetEnumerate:limit: against large bitmaps can result in "VM temporary object memory is full , ME-space overflow" errors (4067), especially if the temporary object cache contains many small objects.  This error cannot be trapped using the AlmostOutOfMemory exception.

Workaround

First, try increasing the amount of memory allocated for Map Entries by increasing the setting of the gem configuration parameter GEM_TEMPOBJ_MESPACE_SIZE (Note that in spite of the comment, you can increase this up to 2 GB).

If you still have problems hitting this error, next try *REDUCING* the setting of GEM_TEMPOBJ_CACHE_SIZE, to avoid the logic error when dealing with many small objects in the temporary object cache.  In the worst case, you may need to reduce this to 1/2 the setting of the GEM_TEMPOBJ_MESPACE_SIZE.


Last updated: 2/26/16