Jump to content
  • 0

[HELP] Eclipse error


Question

Posted

Hello,

 

Im having this error, when i try to compile core part of l2universe

compile:
    [javac] Compiling 1696 source files to C:\Documents and Settings\Valdas\workspace\L2Universe\trunk\builds\core\classes
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: Java heap space
    [javac] 	at com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:385)
    [javac] 	at com.sun.tools.javac.code.Scope.enter(Scope.java:196)
    [javac] 	at com.sun.tools.javac.code.Scope.enter(Scope.java:183)
    [javac] 	at com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:132)
    [javac] 	at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:509)
    [javac] 	at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
    [javac] 	at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    [javac] 	at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
    [javac] 	at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
    [javac] 	at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
    [javac] 	at com.sun.tools.javac.comp.Enter.complete(Enter.java:451)
    [javac] 	at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
    [javac] 	at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
    [javac] 	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:353)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:279)
    [javac] 	at com.sun.tools.javac.main.Main.compile(Main.java:270)
    [javac] 	at com.sun.tools.javac.Main.compile(Main.java:69)
    [javac] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [javac] 	at java.lang.reflect.Method.invoke(Unknown Source)
    [javac] 	at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:56)
    [javac] 	at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1065)
    [javac] 	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
    [javac] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [javac] 	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    [javac] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [javac] 	at java.lang.reflect.Method.invoke(Unknown Source)
    [javac] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [javac] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [javac] 	at org.apache.tools.ant.Target.execute(Target.java:357)

 

This is my eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
penFile
-vmargs
-Xms40m
-Xmx2048m
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m

 

my pc has 4GB RAM.

How to fix this error?

3 answers to this question

Recommended Posts

  • 0
Posted
    [javac] The system is out of resources.

    [javac] Consult the following stack trace for details.

 

You can increase Memory ammount for Eclipse aswell.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...