You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Shawn Jiang <ge...@gmail.com> on 2011/02/14 16:35:01 UTC
OOM:PermGen space problem when running jcdi tck on Linux box.
The JCDI automation has been in a bad shape for quite a while. Though the
geronimo start jvm args have been updated to a large max memory level.
-Xmx2056m -XX:MaxPermSize=1024m
The jcdi tck is still not happy with java.lang.OutOfMemoryError: PermGen
space. I can also recreate OMM on my local ubuntu box but can't recreate it
on my window laptop.
I don't know if the same problem exists on Mac. Is anyone else seeing the
same issue ?
--
Shawn
Re: OOM:PermGen space problem when running jcdi tck on Linux box.
Posted by Shawn Jiang <ge...@gmail.com>.
the JAVA_OPTS in pom.xml does not get passed to geronimo server somehow. I
added JAVA_OPTS in AHP to keep the jcdi tck running for now.
We need to add the JAVA_OPTS setting before starting geronimo in jboss
harness geronimo code to fix this issue enventually.
On Tue, Feb 15, 2011 at 1:49 AM, David Blevins <da...@gmail.com>wrote:
>
> On Feb 14, 2011, at 7:35 AM, Shawn Jiang wrote:
>
> > The JCDI automation has been in a bad shape for quite a while. Though
> the geronimo start jvm args have been updated to a large max memory level.
> >
> > -Xmx2056m -XX:MaxPermSize=1024m
> >
> > The jcdi tck is still not happy with java.lang.OutOfMemoryError: PermGen
> space. I can also recreate OMM on my local ubuntu box but can't recreate it
> on my window laptop.
> >
> > I don't know if the same problem exists on Mac. Is anyone else seeing
> the same issue ?
>
> I have the same issue on Mac and have been using a JAVA_OPTS workaround
> similar to the one you posted.
>
> I had been using a vanilla environment variable. Seems you found a simply
> way to do it in the pom. We should definitely use your approach.
>
> -David
>
>
>
>
--
Shawn
Re: OOM:PermGen space problem when running jcdi tck on Linux box.
Posted by Shawn Jiang <ge...@gmail.com>.
Right, "-Xmx1024m -XX:MaxPermSize=512m" works on windows.
But either "-Xmx2056m -XX:MaxPermSize=1024m" or "-Xmx1024m
-XX:MaxPermSize=512m" does not work on Linux box.
On Tue, Feb 15, 2011 at 1:49 AM, David Blevins <da...@gmail.com>wrote:
>
> On Feb 14, 2011, at 7:35 AM, Shawn Jiang wrote:
>
> > The JCDI automation has been in a bad shape for quite a while. Though
> the geronimo start jvm args have been updated to a large max memory level.
> >
> > -Xmx2056m -XX:MaxPermSize=1024m
> >
> > The jcdi tck is still not happy with java.lang.OutOfMemoryError: PermGen
> space. I can also recreate OMM on my local ubuntu box but can't recreate it
> on my window laptop.
> >
> > I don't know if the same problem exists on Mac. Is anyone else seeing
> the same issue ?
>
> I have the same issue on Mac and have been using a JAVA_OPTS workaround
> similar to the one you posted.
>
> I had been using a vanilla environment variable. Seems you found a simply
> way to do it in the pom. We should definitely use your approach.
>
> -David
>
>
>
>
--
Shawn
Re: OOM:PermGen space problem when running jcdi tck on Linux box.
Posted by David Blevins <da...@gmail.com>.
On Feb 14, 2011, at 7:35 AM, Shawn Jiang wrote:
> The JCDI automation has been in a bad shape for quite a while. Though the geronimo start jvm args have been updated to a large max memory level.
>
> -Xmx2056m -XX:MaxPermSize=1024m
>
> The jcdi tck is still not happy with java.lang.OutOfMemoryError: PermGen space. I can also recreate OMM on my local ubuntu box but can't recreate it on my window laptop.
>
> I don't know if the same problem exists on Mac. Is anyone else seeing the same issue ?
I have the same issue on Mac and have been using a JAVA_OPTS workaround similar to the one you posted.
I had been using a vanilla environment variable. Seems you found a simply way to do it in the pom. We should definitely use your approach.
-David