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.
如何在 Windows 机器上将 Jboss 5.1.0 作为服务运行时出现 PermGen 空间错误?
我认为 JBoss 是由bin\run.bat文件启动的(至少我在service.bat文件中看到了类似的东西)。
bin\run.bat
service.bat
run.conf.bat在这种情况下,编辑文件和更改-XX:MaxPermSize参数就足够了。这些参数允许您设置 perm gen 空间大小。
run.conf.bat
-XX:MaxPermSize