void () { int[][][][][][][] ints = new int[2][2][2][2][2][2][2]; int[][][][][] ints2 = new int[2][2][2][2][2]; int[][][][][] ints3 = new int[2][2][2][32][]; try { int[][][][][] ints4 = new int[2][2][2][32][]; } catch (OutOfMemoryError e) { } }