java.lang.OutOfMemoryError: Java heap space解决方法 在Eclilpse中修改启动参数,在VM arguments 加入-Xms500m -Xmx800m(视情况设置大小,不唯一),设置如下图所示