• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

how many object does a jvm can process

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Folks

is there any upper limit in JVM that it can hold Objects and also can i be able to do say i have an object and i want that object to be shared with another jvm running on a different machine.if i can share then is there any upper limit for that. as it is a general rule that every application or anything it might be has a lower and upper bound above which it cannot.



--------------------------
 
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cranky in the Morning Bill says: this isn't an advanced Java question, it's a basic computer science question.
 
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Java itself does not place a limit on the number of objects, but individual JVM implementations do, explicitly or implicitly. It is fairly unlikely that you'd hit this limit, as you'd almost always run out of memory sooner.

Objects cannot be shared between JVMs directly. However, there are lots of ways of obtaining the effect of sharing. Look up RMI, CORBA, SOAP etc.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic