Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 3 of 3
  1. #1
    EvilAngel Guest

    Question java.lang.OutOfMemoryError: Java heap space

    Hi all,

    I am following the howto to install OX Hyperion http://typo3.open-xchange.com/wiki/i...._Installation

    I installed all 3rd party libraries.

    When i launch:
    Code:
    cd /tmp/open-xchange/
    ant -Dlib.dir=/opt/open-xchange/lib install
    I have this message:
    Code:
    compile:
        [javac] Compiling 959 source files to /tmp/open-xchange/build
        [javac]
        [javac]
        [javac] The system is out of resources.
        [javac] Consult the following stack trace for details.
        [javac] java.lang.OutOfMemoryError: Java heap space
    
    BUILD FAILED
    /tmp/open-xchange/build.xml:111: Compile failed; see the compiler error output for details.
    The server is Debian Etch with 1 Go RAM and dual-core AMD CPU.

    Any ideas ?

    Thanks

  2. #2
    Francisco Laguna Guest

    Default

    In and of itself java (and in turn ant) just uses 64Mb of your memory, trying to behave itself. Quite a testimony to java being about 10yrs old, I guess.
    Try:

    ant -Xmx512m -Dlib.dir=/opt/open-xchange/lib install

  3. #3
    EvilAngel Guest

    Thumbs up

    Exactly.

    While searching I also found another way to solve it:
    Create a ~/.ant/ant.conf file with:
    ANT_OPTS="-Xms512M -Xmx512M"
    inside.

    Now Ant is working fine.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •