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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Performance
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How can I permamently tenure a datastructure.
 
Similar Threads
needed help on jsp + javascript
singly inked list traversing in the reverse direction
Datastructure using Java
ActionEvents/Swing Problem.
Dynamic String Array Decelaration