Re: OpenEJB 2 test failures
Something we are doing is running close to the limit. While working on the car-maven-plugin I had it set up to start a new kernel for each config (and stop it when done) but consistently ran out of permGen space. Anyone know how to investigate this? thanks david jencks On Nov 29, 2006, at 1:30 PM, Jason Dillon wrote: This seems to be a transient failure... sometimes I get the OOME, sometimes I don't :-( --jason On Nov 29, 2006, at 1:12 PM, Jacek Laskowski wrote: On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: Now I am seeing "OutOfMemoryError: PermGen space": I saw it once or twice but then it disappeared. I wonder whether it's related to the change or something else. PermGen space is where classes are loaded to so perhaps we need to increase it for M2? -XX:MaxPermSize=128m might be of help. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
Re: OpenEJB 2 test failures
This seems to be a transient failure... sometimes I get the OOME, sometimes I don't :-( --jason On Nov 29, 2006, at 1:12 PM, Jacek Laskowski wrote: On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: Now I am seeing "OutOfMemoryError: PermGen space": I saw it once or twice but then it disappeared. I wonder whether it's related to the change or something else. PermGen space is where classes are loaded to so perhaps we need to increase it for M2? -XX:MaxPermSize=128m might be of help. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
Re: Re: OpenEJB 2 test failures
On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: Now I am seeing "OutOfMemoryError: PermGen space": I saw it once or twice but then it disappeared. I wonder whether it's related to the change or something else. PermGen space is where classes are loaded to so perhaps we need to increase it for M2? -XX:MaxPermSize=128m might be of help. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
Re: Re: OpenEJB 2 test failures
Now I am seeing "OutOfMemoryError: PermGen space": Running org.apache.openejb.deployment.entity.cmp.cmr.onetomany.OneToManyTest org.apache.maven.surefire.booter.SurefireExecutionException: org.apache.openejb.deployment.entity.cmp.cmr.onetomany.OneToManyTest; nested exception is java.lang.OutOfMemoryError: PermGen space; nested exception is org.apache.maven.surefire.testset.TestSetFailedException: org.apache.openejb.deployment.entity.cmp.cmr.onetomany.OneToManyTest; nested exception is java.lang.OutOfMemoryError: PermGen space org.apache.maven.surefire.testset.TestSetFailedException: org.apache.openejb.deployment.entity.cmp.cmr.onetomany.OneToManyTest; nested exception is java.lang.OutOfMemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space --jason On 11/29/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: > OpenEJB 2 (2.2 or 2.3) will not build due to test failures in > "OpenEJB :: Builder": ... > It would be really nice if someone could get this fixed... as G is > stuck in the water until these pass. It should be fixed now. Give it a shot and report back. Many thanks for Dave J. for his patch that I have merely checked in. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
Re: OpenEJB 2 test failures
On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: OpenEJB 2 (2.2 or 2.3) will not build due to test failures in "OpenEJB :: Builder": ... It would be really nice if someone could get this fixed... as G is stuck in the water until these pass. It should be fixed now. Give it a shot and report back. Many thanks for Dave J. for his patch that I have merely checked in. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
Re: OpenEJB 2 test failures
Unit tests should not really take to much time... and thus should not really be turned off. Tests may need to be revisited to improve the speed, or split them off into unit and integration tests (easy to do with TestNG using groups). Also, not sure what the fork mode is set to currently for OpenEJB, but if you can, use "once" to only spin off one jvm for the entire flight of tests. Using "pertest" will slow things down significantly. --jason On Nov 29, 2006, at 12:09 AM, Jacek Laskowski wrote: On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: OpenEJB 2 (2.2 or 2.3) will not build due to test failures in "OpenEJB :: Builder": Whoops! It's probably me who broke it. I intentionally turned off the tests to speed up the build and incidentally introduced the failures. Dave J. has proposed to comment out the respective tests in OpenEJB that seem to be the culprit, so at least one possible solution already exist. I should have it fixed soon. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
Re: OpenEJB 2 test failures
On 11/29/06, Jason Dillon <[EMAIL PROTECTED]> wrote: OpenEJB 2 (2.2 or 2.3) will not build due to test failures in "OpenEJB :: Builder": Whoops! It's probably me who broke it. I intentionally turned off the tests to speed up the build and incidentally introduced the failures. Dave J. has proposed to comment out the respective tests in OpenEJB that seem to be the culprit, so at least one possible solution already exist. I should have it fixed soon. Jacek -- Jacek Laskowski http://www.jaceklaskowski.pl
