It would really be better to use:

    -XX:MaxPermSize=128m -Xmx512m

Otherwise if everyone switches to use 1g heap for builds, then we may actually end up needing that much memory (which we don't, and should not need to *build* Geronimo).

--jason


On Feb 14, 2007, at 7:55 AM, Sachin Patel wrote:

Thanks! I'm still building but think I'm passed the problem using

-XX:MaxPermSize=128m -Xms512m -Xmx1024m

-sachin


On Feb 14, 2007, at 10:16 AM, Prasad Kashyap wrote:

I saw the FATAL ERROR you first reported here
http://www.nabble.com/Failed-for-Revision%3A-506935- tf3219797.html#a8941867

Then I bumped the memory as per David's suggestion. I have had good
builds since. * Touch wood*

Cheers
Prasad

On 2/14/07, Joe Bohn <[EMAIL PROTECTED]> wrote:
Are you already using the settings that David mentioned yesterday?

http://article.gmane.org/gmane.comp.java.geronimo.devel/45371

Joe


Sachin Patel wrote:
> Yes, did a full clean and repo..
>
> I re-ran and hit the error again, this time the same error was thrown
> but the following was added:
>
> constituent[24]:
> file:/home/tck/.m2/repository/org/apache/geronimo/genesis/ config/checkstyle-config/1.1/checkstyle-config-1.1.jar
> ---------------------------------------------------
> Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
>
> Guess I need to bump up the vmargs on that machine.
>
> -sachin
>
>
> On Feb 14, 2007, at 9:22 AM, Kevan Miller wrote:
>
>> I built just fine last night w/ revision 507243. That's a funky
>> looking error. Did you clean out configs and retry?
>>
>> I'm starting a build on a second machine...
>>
>> --kevan
>> On Feb 14, 2007, at 9:02 AM, Sachin Patel wrote:
>>
>>> Anyone seeing this?
>>>
>>> [INFO] Building Geronimo Configs :: Servlet Examples for Jetty
>>> [INFO]    task-segment: [install]
>>> [INFO]
>>> -------------------------------------------------------------------- -------- >>> [INFO] [tools:require-java-version {execution: validate-java- version}]
>>> [INFO] [tools:copy-legal-files {execution: install-legal-files}]
>>> [INFO] Created dir:
>>> /home/tck/geronimo/trunk/configs/servlet-examples-jetty/ target/classes/META-INF
>>> [INFO] Copying 2 files to
>>> /home/tck/geronimo/trunk/configs/servlet-examples-jetty/ target/classes/META-INF
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [car:prepare-plan]
>>> [INFO] Generated:
>>> /home/tck/geronimo/trunk/configs/servlet-examples-jetty/ target/plan/plan.xml
>>> [INFO] [car:package]
>>> [INFO] snapshot
>>> org.apache.geronimo.applications.examples:geronimo-servlet- examples:2.0-SNAPSHOT:
>>> checking for updates from apache-snapshots
>>> [INFO] snapshot
>>> org.apache.geronimo.applications.examples:geronimo-servlet- examples:2.0-SNAPSHOT:
>>> checking for updates from axis2-m2-repo
>>> [INFO] snapshot
>>> org.apache.geronimo.applications.examples:geronimo-servlet- examples:2.0-SNAPSHOT:
>>> checking for updates from codehaus-snapshots
>>> [INFO] snapshot
>>> org.apache.geronimo.applications.examples:geronimo-servlet- examples:2.0-SNAPSHOT:
>>> checking for updates from apache.snapshots
>>> [INFO] Packaging module configuration:
>>> /home/tck/geronimo/trunk/configs/servlet-examples-jetty/ target/plan/plan.xml
>>> [INFO]
>>> -------------------------------------------------------------------- ----
>>> [ERROR] FATAL ERROR
>>> [INFO]
>>> -------------------------------------------------------------------- ----
>>> ---------------------------------------------------
>>> constituent[0]: file:/home/tck/tools/maven-2.0.4/lib/ jsch-0.1.24.jar
>>> constituent[1]:
>>> file:/home/tck/tools/maven-2.0.4/lib/wagon-ssh-external-1.0- alpha-6.jar
>>> constituent[2]:
>>> file:/home/tck/tools/maven-2.0.4/lib/plexus-interactivity- api-1.0-alpha-4.jar
>>> constituent[3]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-monitor-2.0.4.jar
>>> constituent[4]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-plugin-parameter- documenter-2.0.4.jar
>>> constituent[5]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-plugin-api-2.0.4.jar
>>> constituent[6]:
>>> file:/home/tck/tools/maven-2.0.4/lib/doxia-sink-api-1.0- alpha-7.jar
>>> constituent[7]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-settings-2.0.4.jar
>>> constituent[8]:
>>> file:/home/tck/tools/maven-2.0.4/lib/wagon-http- lightweight-1.0-alpha-6.jar
>>> constituent[9]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-plugin- descriptor-2.0.4.jar
>>> constituent[10]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-repository- metadata-2.0.4.jar
>>> constituent[11]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-error- diagnostics-2.0.4.jar
>>> constituent[12]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-artifact- manager-2.0.4.jar >>> constituent[13]: file:/home/tck/tools/maven-2.0.4/lib/commons- cli-1.0.jar
>>> constituent[14]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-plugin- registry-2.0.4.jar
>>> constituent[15]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-profile-2.0.4.jar
>>> constituent[16]:
>>> file:/home/tck/tools/maven-2.0.4/lib/wagon-provider-api-1.0- alpha-6.jar
>>> constituent[17]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-model-2.0.4.jar
>>> constituent[18]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-core-2.0.4.jar
>>> constituent[19]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-project-2.0.4.jar
>>> constituent[20]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-reporting- api-2.0.4.jar
>>> constituent[21]:
>>> file:/home/tck/tools/maven-2.0.4/lib/maven-artifact-2.0.4.jar
>>> constituent[22]:
>>> file:/home/tck/tools/maven-2.0.4/lib/wagon-ssh-1.0-alpha-7.jar
>>> constituent[23]:
>>> file:/home/tck/tools/maven-2.0.4/lib/wagon-file-1.0-alpha-7.jar
>>> constituent[24]:
>>> file:/home/tck/.m2/repository/org/apache/geronimo/genesis/ config/checkstyle-config/1.1/checkstyle-config-1.1.jar
>>>
>>>
>>> -sachin
>>>
>>>
>>
>



Reply via email to