Re: Out-of-Memory Handling in Long-Running / Server Applications
Bob Lee <[email protected]> Mon, 14 Apr 2008 13:01:18 -0700
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 14, 2008 at 11:17 AM, Randall R Schulz <[email protected]> wrote: > Yes. It's a heap-based priority queue (where "heap" is meant in the > sense of the heap data structure, not in the sense of a dynamic > allocation pool.) You could actually back that with a file. 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. Bob =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com