• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

distibuted system, help needed

 
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This has nothing to do with EJBs so I am moving this to Java(Intermediate).
 
reply
    Bookmark Topic Watch Topic
  • New Topic