What are the command line options you are using to try to fix this problem -- basic out of memory errors, PermGen space errors, and (I believe) GC overhead errors use/require different settings to fix.

Glen

On 01/24/2013 12:21 PM, rouble wrote:
I am running wsdl2java on a rather large WSDL file and I am getting an
OutOfMemory error. I know for standard JAVA you can increase the size
of the heap using command line options. I tried those - but they don't
seem to take. Any ideas on how to address this with CXF's wsdl2java?

Here is the relevant portion of the stack trace:
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead
limit exceeded
         at java.util.Arrays.copyOf(Arrays.java:2882)
         at 
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
         at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
         at java.lang.StringBuilder.append(StringBuilder.java:119)
         at 
org.apache.cxf.tools.common.model.JavaMethod.getSignature(JavaMethod.java:94)
         at 
org.apache.cxf.tools.common.model.JavaInterface.hasMethod(JavaInterface.java:156)
         at 
org.apache.cxf.tools.common.model.JavaInterface.addMethod(JavaInterface.java:190)

tia,
rouble


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to