How much memory do you need for a Java app: shallow heap explained
plumbr.eu