On 02/12/2011, at 3:33 PM, Peter Niederwieser <[email protected]> wrote:
>> I don't necessarily have a problem with defaults if they are documented
>> and explained to the user via a good error message if the daemon OOMs.
>>
>
> I'm more concerned about the opposite: Wasting memory by setting high
> defaults in an attempt to prevent OOMs for most users.
I don't think this is much of an issue. The OS will page out the unused JVM
heap.
Side thought: I wonder if we should call System.gc() after a daemon build. It
in theory could make the next build faster by avoiding a GC pause and doesn't
cost anything. If it were more than one line of code I wouldn't even think
about it.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email