Menu

#367 Won't start in Linux (Ubuntu) with too much memory

open
nobody
None
5
2008-08-22
2008-08-22
Anonymous
No

I spent quite a while trying to figure out why AoI wouldn't start on my new Dell Ubuntu Laptop. Turns out that for systems with LARGE amounts of memory (mine has 4GB) aoi.sh tries to allocate too much memory and thus fails to start.

If you run it from the terminal, this is the error message:

Error occurred during initialization of VM
Could not reserve enough space for object heap

The full error log is attached.

If you click the icon, it just does nothing.

The fix is simple though, change line 59 of aoi.sh from:

MEM=-Xmx3300m

To:

MEM=-Xmx2000m

I wanted to post because this was tough to figure out and I didn't want anyone else to have to, or worse, give up on AoI all together in frustration. It really is a great program.

Discussion

  • Nobody/Anonymous

    Error log

     
  • Nobody/Anonymous

    Thanks for the posting! I agree, a tough bug to track down. However, I was actually able to increase mine to MEM=-Xmx2600m but I started with MEM=-Xmx3500m, if it makes any difference.

     

Log in to post a comment.