Menu

error message

Help
2010-02-12
2013-04-08
  • Icymar tagimacruz

    Hi I always get an error when I try to enter a products the message says:

    Exception in Thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space etc.. what does it means?

     
  • Munjal Kansara

    Munjal Kansara - 2010-02-13

    Above message means, the memory allocated to Hishab application is not sufficient, more details about the operation would be helpaful.

    You can try modifying application launcher script to allocate more memory, here are the steps.

    1. Go to Hishab POS installation director.
    2. Locate file start.bar (I am assuming that you are using windows application - if not you will have to look for start.sh)
    3. Open file for editing (double click will NOT help) - you will have to right click and say edit…
    4. On last line modify following line

    start /B %path%/java -cp %CP% -Djava.library.path="%DIRNAME%lib/Windows/i368-mingw32" -Ddirname.path="%DIRNAME%./" com.openbravo.pos.forms.StartPOS %1

    to

    start /B %path%/java -Xmx1024m -cp %CP% -Djava.library.path="%DIRNAME%lib/Windows/i368-mingw32" -Ddirname.path="%DIRNAME%./" com.openbravo.pos.forms.StartPOS %1 

    The added -Xmx1024m will allow additional memory to Hishab POS Application and should resolve your problem.

     
  • Icymar tagimacruz

    Hi, thank you so much for the help I already got it just by following your instructions.. thank you so much…

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.