java.lang.OutOfMemoryError: Java heap space

QuickFIX/J JIRA | Dustin Vain | 8 years ago
  1. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Got the error below doing an "ant jar". Looks like the 1.6 Mac compiler needs a little more memory that whatever compiler you're using. Upping the memory to 256m on line 104 of core/build.xml resolved the issue. compile_main: [javac] Compiling 1431 source files to /Users/dustin/proj/quickfixj/core/target/classes/main [javac] [javac] [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.util.Position$LineMapImpl.build(Position.java:139) [javac] at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63) [javac] at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1105) [javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512) [javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550) [javac] at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:801) [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 com.sun.tools.javac.Main.main(Main.java:54) BUILD FAILED ./build.xml:36: The following error occurred while executing this line: ./build.xml:27: The following error occurred while executing this line: ./core/build.xml:80: The following error occurred while executing this line: ./core/build.xml:85: The following error occurred while executing this line: ./core/build.xml:104: Compile failed; see the compiler error output for details.

    QuickFIX/J JIRA | 8 years ago | Dustin Vain
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Got the error below doing an "ant jar". Looks like the 1.6 Mac compiler needs a little more memory that whatever compiler you're using. Upping the memory to 256m on line 104 of core/build.xml resolved the issue. compile_main: [javac] Compiling 1431 source files to /Users/dustin/proj/quickfixj/core/target/classes/main [javac] [javac] [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.util.Position$LineMapImpl.build(Position.java:139) [javac] at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63) [javac] at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1105) [javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512) [javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550) [javac] at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:801) [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 com.sun.tools.javac.Main.main(Main.java:54) BUILD FAILED ./build.xml:36: The following error occurred while executing this line: ./build.xml:27: The following error occurred while executing this line: ./core/build.xml:80: The following error occurred while executing this line: ./core/build.xml:85: The following error occurred while executing this line: ./core/build.xml:104: Compile failed; see the compiler error output for details.

    QuickFIX/J JIRA | 8 years ago | Dustin Vain
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I give the Intellij compiler more heap space?

    Stack Overflow | 5 years ago | michael
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    ant java.lang.OutOfMemoryError: Java heap space - Forums | Liferay

    liferay.com | 1 year ago
    java.lang.OutOfMemoryError: Java heap space

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at com.sun.tools.javac.util.Position$LineMapImpl.build()
    2. Java Tools
      Main.main
      1. com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:139)
      2. com.sun.tools.javac.util.Position.makeLineMap(Position.java:63)
      3. com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1105)
      4. com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512)
      5. com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550)
      6. com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:801)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
      8. com.sun.tools.javac.main.Main.compile(Main.java:353)
      9. com.sun.tools.javac.main.Main.compile(Main.java:279)
      10. com.sun.tools.javac.main.Main.compile(Main.java:270)
      11. com.sun.tools.javac.Main.compile(Main.java:69)
      12. com.sun.tools.javac.Main.main(Main.java:54)
      12 frames