Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
Jan Blok
Unregistered
|
Real live experience
12/18/03 05:29 AM
|
|
|
3 months ago on Java 1.4.2 I had a situation where I needed to analyze highly non-normalized data with the inmem db hypersonic, to save memory I builded intern() on all strings being inserted into the database to save memory, the result was I could load less data than without intern() being used. (I now use a hashmap to make all same strings one instance, which works fine for memory usage reduction) BTW one rare thing I noticed that the interned strings are not visible as memory being used by the java process on windows (normal heap string usage is visible as more memory being used by java process)
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator:
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Thread views: 7497
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5