The attached test is failing with an out of memory exception when running with -Xmx512m
It performs the following actions:
1) Create 5 persist threads which create and persist a large object in a loop 100 times each
2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority
The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference.
<database> <size initial="256kb" resize="256kb" page="2kb" /> <recovery enabled="true" sync="false" path="." max="128mb" /> <recording enabled="false" sync="false" path="." mode="write" /> <locking version-check="true" /> <processing cache="8mb" max-threads="10" /> <query-cache results="0mb" programs="500" /> <extensions drop="temp,tmp,odb" /> <activation code="..." /> </database>
I've uploaded the heap dump to the ftp site - filename is java_pid7384.zip