dev@glassfish.java.net

Re: trunk build error

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Thu, 17 Nov 2011 23:52:28 -0800

I can't get the trunk to build. I'm running into an out of memory error.
I tried the below but it didn't help. I bumped up MaxPermSize to 256m
and it still fails, now with:

[INFO] Fatal error compiling

Embedded error: Error while executing the compiler.
PermGen space


Am I the only one? It's failing on two different machines for me.
I even removed my .m2 directory but that didn't help.


Jerome Dochez wrote on 11/14/2011 10:09 AM:
> I have had some instability last week and I bumped up my memory to
>
> MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=128m'
>
> and that seems to have fixed the issues I had (I do remember the one you have below but I am not sure how/why it went away).
>
> let me know.
>
> jerome
>
> On Nov 14, 2011, at 10:05 AM, hong.hz.zhang_at_oracle.com wrote:
>
>> Yes, the continous build is also blue. But I tried a couple times, each time it stopped here. I will check out a new workspace and try again.
>>
>> On 11/14/2011 1:00 PM, Jason Lee wrote:
>>> I built without error this morning.
>>>
>>>
>>> On 11/14/11 11:58 AM, hong.hz.zhang_at_oracle.com wrote:
>>>> Anyone else seeing this (this is with the latest trunk workspace)?
>>>>
>>>> [INFO] Building in /home/hzhang/files/workspaces/glassfish/main/appserver/paas/console/webapp
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] [resources:resources {execution: default-resources}]
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Copying 0 resource
>>>> [INFO] [compiler:compile {execution: default-compile}]
>>>> [INFO] Compiling 41 source files to /home/hzhang/files/workspaces/glassfish/main/appserver/paas/console/webapp/target/classes
>>>> [INFO] ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO] ------------------------------------------------------------------------
>>>> org.codehaus.classworlds.NoSuchRealmException: plexus.core
>>>> at org.codehaus.classworlds.ClassWorld.getRealm(ClassWorld.java:128)
>>>> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:434)
>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>
>>>
>>>
>