You need to sign in to do that
Don't have an account?
java.lang.OutOfMemoryError: Java heap space
I'm trying to compile a project that pulls some information from salesforce but get an out of memory error during the compile. If I put the code in a standalone project and run it in a static main it works fine. If i add it to the existing project and call it I get the oom error when compiling the salesforce packages generated from the wsdl file.
I have increased my heap size: -vmargs -Xms512M -Xmx1024M with no effect.
This is the error message I get in the console window of eclipse:
[javac] C:\SourceControl\mysybase\web_mainline\partner_portal\webapp\src\com\sforce\soap\enterprise\SoapBindingStub.java:1096: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector
[javac] cachedSerClasses.add(cls);
[javac] ^
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space
Any help would be greatly appreciated.