Re: Out-of-Memory Handling in Long-Running / Server Applications

Randall R Schulz <[email protected]> Sun, 13 Apr 2008 15:01:18 -0700
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On Sunday 13 April 2008 14:54, Stephen Denne wrote:
> Randall R Schulz wrote
>
> > ...
>
> If your priority queue was only accessible via a SoftReference, then
> when a request from anywhere for more memory can not be fulfilled,
> your queue would be released automatically, avoiding an OOME.

It's not a cache, memoizing store or TLB. It's a central data structure
in the algorithm. It would hardly do to have it vanish unpredictably.


> ....
>
> Regards,
> Stephen Denne.


Randall Schulz

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

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