系统资源不足。
有关详细信息,请参阅以下堆栈追踪。
java.lang.OutOfMemoryError: Java heap space
at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:315)
at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:310)
at java.util.jar.Manifest.read(Manifest.java:178)
at java.util.jar.Manifest.<init>(Manifest.java:52)
at java.util.jar.JarFile.getManifestFromReference(JarFile.java:165)
at java.util.jar.JarFile.getManifest(JarFile.java:146)
at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:693)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:221)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at com.sun.tools.javac.jvm.ClassReader.readCompoundAnnotation(ClassReader.java:1154)
at com.sun.tools.javac.jvm.ClassReader.attachAnnotations(ClassReader.java:1096)
at com.sun.tools.javac.jvm.ClassReader.readMemberAttr(ClassReader.java:867)
at com.sun.tools.javac.jvm.ClassReader.readClassAttr(ClassReader.java:1053)
at com.sun.tools.javac.jvm.ClassReader.readClassAttrs(ClassReader.java:1067)
at com.sun.tools.javac.jvm.ClassReader.readClass(ClassReader.java:1560)
at com.sun.tools.javac.jvm.ClassReader.readClassFile(ClassReader.java:1658)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1845)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:842)
at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:901)
at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:961)
at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:986)
C:\work\project\UWS-MTPP\nbproject\build-impl.xml:603: The following error occurred while executing this line:
C:\work\project\UWS-MTPP\nbproject\build-impl.xml:245: Compile failed; see the compiler error output for details.
这里是我配置文件的内容,报错的是第二行j2seproject3...,但是我没发现第二行有什么问题啊,请指教
...
eclipse编译项目内存不足,电脑有内存但xmx又设不了更大
你先设置-Xms512m,-Xms1024m,如果你可用内存不足1024,再设置小点;你也可以在运行jdk上设置
eclipse编译项目内存不足,电脑有内存但xmx又设不了更大
回答:你先设置-Xms512m,-Xms1024m,如果你可用内存不足1024,再设置小点;你也可以在运行jdk上设置