Issue with Java Heap Space
We have developped our Scheduer framework which basically schesdules the java classess at specified frequency. This Scheduler framework is nothing but similar to BEA Java Method server.
The problem i am facing is JAVA HEAP SPACE issue. After one or two days after scheduler is started , While invokation of Jobs(ie schedule java programs) starts throwing JVM out of heap space ERROR ...Infact I am relaesing all the resources then and there.
Also i specifed min 512MB and Max 1GB runtime parameters for JVM while i launch java.exe .java -Xms512m -Xmx1024m.
So i am not able to understand why i am getting heap space issue....! IS Garbage Collector not running ??
Also one more question , suppose in s system if there are many java based apps running like BEA webogic , ORACLE DB , and xyz java based application , whether all the three wil be sharing same JVM or each will have its own instance of JVM ??
EXPERTS PLEASE DO HELP ME..I DESPERATELY NEED HELP FROM PEOPLE WHO HAVE INDEPTH KNOWEDGE ABOUT JVM AND ITS INTERNAL WORKING.