Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
每当我部署我的 Web 应用程序时,我都会收到 PermGen Space Exception。我在NetBeans中尝试了一些 JVM 选项,但仍然无法解决问题。
添加此 JVM 参数:(-XX:MaxPermSize=128m或256m或512m)。这是一篇相关文章,其中列出了一些其他有用的 JVM 选项。
-XX:MaxPermSize=128m
256m
512m