[Glass] OutOfMemoryError ...

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


Hi,

Check out GEM_TEMPOBJ_CACHE_SIZE.

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).

Regards,
bruno

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
that 
make heavy use of the reduced conflict classes or sessions performing a bulk
load.
It is important to provide sufficient temporary object space. If temporary
object 
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
transactions 
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
of 
10000 (10 MB) should be adequate for normal user sessions. For sessions that
place 
a high demand on the temporary object cache, such as upgrade, you may wish
to 
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