1.eclipse3.4 2.选择造成这个问题的类,run.run configuration.(x)=Arguments 3.在VM arguments下面框里输入-Xmx800m 4.最后Apply.close