opensubscriber
   Find in this group all groups
 
Unknown more information…

a : advanced-java@discuss.develop.com 15 April 2008 • 4:38AM -0400

Re: [ADVANCED-JAVA] Out-of-Memory Handling in Long-Running / Server Applications
by Attila Szegedi

REPLY TO AUTHOR
 
REPLY TO GROUP




On 2008.04.14., at 22:08, Randall R Schulz wrote:
> On Monday 14 April 2008 13:01, Bob Lee wrote:
>> Compared to allocating a
>> really huge heap (bigger than physical RAM), you could gain some more
>> control over when swapping out to disk occurs, but whether or not you
>> could do a significantly better job than the OS's default algorithm
>> is debatable.
>
> The access patterns are such that to achieve anything near acceptable
> performance, the tree and the priority queue must remain in the
> working
> set.

You could look into Terracotta. While it's primarily a JVM clustering
solution, almost as a side-effect it gives you a >4GB disk backed
virtual heap where your RAM based heap basically serves as a cache.

Attila.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.