We have a RHEL5 system with 25gb RAM, 2x Quad Core Intel Xeon (8 cores altogether) and randomly get heap size errors.
Our java options are -Xmx10240m
-Xms10240m
-XX:PermSize=256m
-server
-Xss1024k
.
Is there anything wrong with the above config?
errors:
java.lang.OutOfMemoryError: Java heap space
at net.sf.ehcache.store.DiskStore.throwableSafeExpireElementsIfRequired$
at net.sf.ehcache.store.DiskStore.spoolAndExpiryThreadMain(DiskStore.ja$
at net.sf.ehcache.store.DiskStore.access$800(DiskStore.java:65)
at net.sf.ehcache.store.DiskStore$SpoolAndExpiryThread.run(DiskStore.ja$
TIA