解决办法:打开MyEclipse的 RUN 加一个 -Xmx256m,使最大使用内存为 256M,就可以了

 

使用 MMAnalyzer 发现内存不足 (out of memory java heap)解决方法_myeclipse