1. 程式人生 > >Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space

Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space

ons pac error com clas con thread alt perm

問題:Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space

解決方案:

在Eclipse中配置tomcat中設置VM options的值:

-Xmx2048m -Xms1024m -Xmn64m -Xss32m -XX:MaxNewSize=256m -XX:MaxPermSize=256m

技術分享

Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space