How do I get rid of those annoying “Out of memory” exceptions?
♫ July 27th, 2011 2:36 amWhen you launch any Java program, you must specify its “maximum heap size”; that is, the maximum amount of memory it is allowed to use. This is done with the -Xmx command line flag. For example, if you specify -Xmx256m on the command line when running it, it can use up to 256 MB of memory. If you do not include the -Xmx flag (or if you run it by double-clicking ArtOfIllusion.jar), the maximum heap size defaults to 64 MB.

