You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Nathan Sowatskey <ns...@cisco.com> on 2005/11/23 12:15:56 UTC

Out of resources with Maven 2

Hi

Whilst using the Maven 2 plugin, I get:


Time to build schema type system: 4.889 seconds
Time to generate code: 8.859 seconds


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space

BUILD FAILED
[INFO]  
------------------------------------------------------------------------ 
----
[ERROR] BUILD ERROR
[INFO]  
------------------------------------------------------------------------ 
----
[INFO] XmlBeans compile failed:


This is a tricky one to fix. I have already changed my mvn script so  
that Maven is started with 128/256/512mb, and my machine has enough  
memory for this.

I think that the way in which the java process for xmlbeans is being  
initialised means that the heap settings aren't being passed on.

Ideas anyone?

Thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -  
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - nsowatsk@cisco.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org