[Fedora-directory-devel] Announcing Fedora Directory Server 1.0.2

Thomas Fitzsimmons fitzsim at redhat.com
Fri Mar 3 02:30:09 UTC 2006


Hi,

On Thu, 2006-03-02 at 18:39 -0700, Richard Megginson wrote:
> Thomas Fitzsimmons wrote:

> >As a smoke test I tried running startconsole on java-gcj-compat.  It
> >fails immediately with a GC out-of-memory error.  This is because gij's
> >support for the -ms and -mx options is limited.

I looked into this a little more: gij fully supports the -mx option but
its -ms option is currently a no-op because it was causing a segfault in
the garbage collector
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20699).  The startconsole
problem seems to be that the selected -mx value is too small for gij.

> >  Would it be OK to
> >remove these options from the launcher scripts for the next release?
> >  
> >
> I think we still may need them using other jvms and on other platforms, 
> so we'll have to change the script to determine the java version.

Increasing -mx to 70m works on my workstation.  After startup top shows
a resident size of 43m; I assume there is a spike in memory consumption
on startup that causes the out-of-memory error but I would have to
profile the console to be sure.

For gij, it may be enough to increase the -mx value in the script to
say, 128m.  But if possible these options should be removed, or only
used on platforms and JVMs that require them.

Tom





More information about the Fedora-directory-devel mailing list