aspose file tools*
The moose likes Performance and the fly likes How can I permamently tenure a datastructure. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "How can I permamently tenure a datastructure." Watch "How can I permamently tenure a datastructure." New topic
Author

How can I permamently tenure a datastructure.

winton davies
Greenhorn

Joined: Nov 27, 2001
Posts: 2
Hi,
I have a big big in memory datastructure (~1gb) (and this is just about the limit for most JVMs as well).
I have had some success earlier in LISP on a similar problem, by basically loading the datastructure, and the telling the GC that it is never, ever, supposed to look at it.
I've been looking through the 1.3.1 hotspot JVM hints, and can't find how to get stuff into the "Perm" area. Any other ideas ?
Many thanks,
Winton
------------------
winton davies
Greenhorn

Joined: Nov 27, 2001
Posts: 2
ok, answered it myself...
use static final.... seems to work...
Winton
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I permamently tenure a datastructure.