cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rouble <>
Subject Re: wsdl2java java.lang.OutOfMemoryError
Date Thu, 24 Jan 2013 17:37:17 GMT
Ok, I came across:

This has been fixed in CXF 2.4.X, but it requires a user to modify
wsdl2java to compile a large WSDL. That is far from ideal. I am going
to open a new JIRA to request for a command line option to specify the
maximum memory heap size.

It may also be acceptable to increase the default value to 256M, since
it does seem like people are hitting this issue with some frequency,
and it is not unheard of for apps to use that much heap space while
they are working. I will leave that up to the CXF dev team to decide.


On Thu, Jan 24, 2013 at 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(
>         at java.lang.AbstractStringBuilder.expandCapacity(
>         at java.lang.AbstractStringBuilder.append(
>         at java.lang.StringBuilder.append(
>         at
>         at
>         at
> tia,
> rouble

View raw message