|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.silentsoftware.ImageToZxSpecRunner
public class ImageToZxSpecRunner
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 |
|---|
private static final int MIN_HEAP
| Constructor Detail |
|---|
public ImageToZxSpecRunner()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||