• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

how many object does a jvm can process

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!