JAS ran out of memory -- how do I fix that?

64MB is the default memory limit for Java, but it is easy to change:

  1. Unix: edit the jas script used to run JAS and on the last line insert -Xmx128m after ${JAVA} (This should be made easier [JAS-328@BUGS])
  2. Windows: Edit the file jas.ini (typically c:\Program Files\JAS3\jas.ini) and uncomment the line: --Xmx128m
  3. MacOSX: There must be a way but I don't know what it is. Ask again if you need it.

Of course you can replace 128 with however many Megabytes you want JAS to use (but make it < the actual physical memory you have on your system or the program will page like crazy).

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Apr 24, 2009

    Matthias BUSSONNIER says:

    Mac OS X: right clic on JAS3-> show package content contents-> info.pli...

    Mac OS X:
    right clic on JAS3-> show package content
    contents-> info.plist
    change the line <string>-Xmx256m</string> to your convenience