We are making a distributed system which has some services. These services are threads which do some specific tasks. The services can be on different machines ! The problem is the garbage collection. Services are taking too much memory so what we want is that they free up memory and system.gc() does not seem to help! We thought that we would stop the service and restart it,by restarting the jvm itself. Now the problem is, ones jvm goes down, who will restart it. suppose machine A has controller thread. 3 services are running on machine B, C and D. in service thread i call system.exit() in machine B. now jvm is down. Then how can I use controller thread on machine A to spawn a jvm on machine B ???
Test 094, IBM WID 6.0 cert
SCBCD 1.3 Beta
SCWCD 1.4 Beta
posted 15 years ago
This has nothing to do with EJBs so I am moving this to Java(Intermediate).