Clarity

 View Only
  • 1.  XOG OutOfMemory Java heap space

    Posted Jun 11, 2014 08:48 AM

    I am getting the error java.lang.OutOfMemoryError: Java heap space when trying to xog IN a portlet.

    I saw a paper that said to increase the JVM setting in the xog.bat file but I do not see a JVM setting.

    I can successfully xog IN other portlets but the input file size is much smaller

     

    I searched the XOG message board and found an article but when I clicked on the link to open it, it just returned me to the XOG message board.

     

    Thanks.



  • 2.  RE: XOG OutOfMemory Java heap space

    Posted Jun 11, 2014 08:52 AM
    RE: XOG OutOfMemory Java heap space


  • 3.  RE: XOG OutOfMemory Java heap space
    Best Answer

    Posted Jun 11, 2014 08:55 AM

    Edit the xog.bat file in the bin folder. Change the -Xmx512m value to something else depending on your available memory as follows:

    set PROGRAM_ARGS=%SSL_DEBUG_ARG% -Dfile.encoding=UTF-8 -Xmx1024m -Dniku.home="%NIKU_HOME%" -Dforehead.conf.file="%NIKU_HOME%\bin\xog.forehead" com.werken.forehead.Forehead -installDir "%NIKU_HOME%"

    Note I have changed my value to 1024m.

    -ab