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

Reply via email to