“Thanks for the Memory” is a must read article for every java developer. It is a very good explanation of why sometimes you may need to REDUCE heap size to prevent java.lang.OutofMemoryError. You could download pdf of article writen by Andrew Hall and published at IBM Developerworks.