I have a program that should eventually generate OutOfMemory . The program code is:
OutOfMemory
public class VeryLargeObject implements Serializable { p
For starter drop the XX options and any options BEFORE VeryLargeObject, otherwise you pass the parameters to the java program and not the JVM
VeryLargeObject