openjms server outofMemory
"jun liu" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hello
My openjms server enviroment:RedHat7.0
,openjms7.6(rmi,localhost,oracle9i),It runs well ,but server prints
outofMemory every 48 hours,so we must restart it.I think it is caused by
gc? any help is appricated!
setenv.sh璁剧疆濡涓:
JAVA_OPTS=-Xmx512m
openjms.xml稿抽缃涓:
<DatabaseConfiguration>
<RdbmsDatabaseConfiguration
driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@hs-bossdb:1521:hsboss"
user="bossv2_jms"
password="bossv2jms2hurray"
maxActive="10"
maxIdle="5"
evictionInterval="3600"
testQuery="select sysdate from dual"/>
</DatabaseConfiguration>
<GarbageCollectionConfiguration memoryCheckInterval="10"
lowWaterThreshold="35"
garbageCollectionInterval="400"
garbageCollectionThreadPriority="5"/>
_________________________________________________________________
浜ㄤ涓澶х靛欢绯荤 MSN Hotmail http://www.hotmail.com
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20