OutOfMemoryError while generating java code from wsdl
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.
Please sign in to leave a comment.
Try increasing the heap size here:
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?
You should probably not use the values higher than 512 or 1024.
I tried 1024 and it still gave me same error so thought of trying higher. What else can I try to get this resolved.
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).
Here are my options while generating code.