File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

distibuted system, help needed

 
Kalpesh Soni
Ranch Hand
Posts: 312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ???


:roll:
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This has nothing to do with EJBs so I am moving this to Java(Intermediate).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic