Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.outOfMemory

843811Apr 2 2004 — edited May 9 2007
Hi

My app is storing large objects in a java.Util.Vector. It acctually stores objects that contains a vector with other objects, so the objects are really big and large in numbers. I get a java.lang.outOfMemory error, what can I do about it? I really need to keep all objects in the vector, so I cant remove them? Is there any way to solve the problem?
I show all objects in a JList (defaultListModel). Does the defaultListModel have the same limitations as the Vector?

/thanx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 6 2007
Added on Apr 2 2004
6 comments
185 views