uk.co.silentsoftware
Class ImageToZxSpecRunner

java.lang.Object
  extended by uk.co.silentsoftware.ImageToZxSpecRunner

public class ImageToZxSpecRunner
extends java.lang.Object

Solution/workaround to allow executable jars to change their memory settings as Java cannot have its command line properties defined in a Jar file. Why Sun never implemented anything like this is beyond me.


Field Summary
private static int MIN_HEAP
          Minimum heap memory for starting the app and allowing for reasonable sized images (note deliberately 1 MB smaller than 512MB due to rounding/non accurate free heap calculation)
 
Constructor Summary
ImageToZxSpecRunner()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MIN_HEAP

private static final int MIN_HEAP
Minimum heap memory for starting the app and allowing for reasonable sized images (note deliberately 1 MB smaller than 512MB due to rounding/non accurate free heap calculation)

See Also:
Constant Field Values
Constructor Detail

ImageToZxSpecRunner

public ImageToZxSpecRunner()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception