OutOfMemoryError while generating java code from wsdl

Answered

I have a wsdl url and trying to generate java code out of it and I got below error

Sep 13, 2017 6:42:31 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Exception in thread "Thread-1" java.lang.OutOfMemoryError: GC overhead limit exceeded

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-1"

 

I downloaded javax.mail and javax.activation, but still the warning for missing classes won't go away.

Im not much concerned about the warning anyway, but not sure how to solve this outofmemoryerror. 

Could some one let me know how this can be resolved. Is there a setting in Intellij. Im clue less at this point of time.

0
7 comments

Try increasing the heap size here:

0
Avatar
Permanently deleted user

Than you so much for quick response. I increased size to 10000, still the same error

 

Sep 13, 2017 7:17:29 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Exception in thread "Thread-1"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-1"

Do you want me to try increasing a bit more?

0
Avatar
Permanently deleted user

0

You should probably not use the values higher than 512 or 1024.

0
Avatar
Permanently deleted user

I tried 1024 and it still gave me same error so thought of trying higher. What else can I try to get this resolved.

0

Please file a ticket at https://youtrack.jetbrains.com/issues/IDEA with the steps/files needed to reproduce it and attach the logs (https://intellij-support.jetbrains.com/hc/articles/207241085).

0
Avatar
Permanently deleted user

Here are my options while generating code.

0

Please sign in to leave a comment.