Nathan Meyers wrote:

> BTW, I haven't seen any evidence that the JVM gives memory back
> to the system. Doing such a thing isn't impossible, but it is
> difficult; OTOH, systems with garbage-collection are those most
> able to implement such a capability.

This was added to JDK 1.1.8.  From the 1.1.8 release notes:

> HEAP EXPANSION AND SHRINKAGE - Four new command-line options have
> been added to the java application launcher that allow control of
> garbage- collected heap expansion and shrinkage. The new options are
> -maxe, -mine, -maxf, and -minf. These options were added as a fix
> for bugd> 4065018.

Check the descriptions for the -maxe, -mine, -minf, and particularly
the -maxf options for further details about the conditions under which
heap is returned to the OS.  Perhaps these have made it into the
Blackdown 1.2.2 RC2; though I doubt it since I don't see any mention
of these options or their -X equivalents even in the Windows or
Solaris 1.3 Betas and I don't recollect any mention of heap
contraction in other 1.2 documentation.  Only those with access to the
garbage collector source would know for sure.

By the way, the IBM JDK 1.1.8 for Linux claims to support these
options.
-- 
Jonathan Doughty          The MITRE Corporation          [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to