/* Author: James Tam Version: 2015 Learning objectives: how recursion can use of memory resources. */ public class RecursiveBloat { public static void fun(int no) { char [] array = new char [500000000]; // 1000 MB System.out.println(no); no = no + 1; if (no <= 888) fun(no); } public static void main (String [] args) { fun(100); } }