[Glass] OutOfMemoryError ...

BrunoBB smalltalk at adinet.com.uy
Tue Mar 25 05:17:52 PDT 2014



It is possible that you are running out of temp space.

I do not think is a Dolphin problem because the Dolphin does not process
anything. All in sent to the server.

For example if you ran a SQL query which return a lot of rows (in Mbytes)
and your GEM_TEMPOBJ_CACHE_SIZE is small then you will have this error.

The default value is 10000 (10 MB).


PS: from GemStone manual:
To Tune the Temporary Object Space
You should increase GEM_TEMPOBJ_CACHE_SIZE (page 369) for applications 
that create a large number of temporary objects — for example, applications
make heavy use of the reduced conflict classes or sessions performing a bulk
It is important to provide sufficient temporary object space. If temporary
memory is exhausted, the Gem can encounter an out-of-memory condition and 
terminate. This is particularly likely to be a problem if there are long
that modify a large number of objects.
You will probably need to experiment somewhat before you determine the 
optimum size of the temporary object space for the application. The default
10000 (10 MB) should be adequate for normal user sessions. For sessions that
a high demand on the temporary object cache, such as upgrade, you may wish
use 100000 (i.e., 100 MB). Any increase in GEM_TEMPOBJ_CACHE_SIZE 
translates directly into increased memory usage per user.
Memory management is discussed in greater detail in Chapter 10, “Managing 
Memory”, on page 295.

View this message in context: http://forum.world.st/Glass-OutOfMemoryError-tp4750636p4750653.html
Sent from the GLASS mailing list archive at Nabble.com.

More information about the Glass mailing list