In Java 6 the memory in Permgen is never garbage-collected, so it will increase and increase as long as servicemix is running. Eventually permgen will be full and the JVM will no longer be able to function. Also permgen contains class metadata so the more bundles we install the more permgen space we use. Again, when we uninstall bundles the memory they were using in permgen is never reclaimed.
servicemix Permgen issue
最新推荐文章于 2021-03-12 08:13:14 发布
本文深入探讨了Java6中PermGen空间的特性,揭示其为何不会被垃圾回收,导致空间逐渐膨胀直至满载。文章进一步解释了安装更多Bundle如何增加PermGen的使用,并阐述了卸载Bundle后内存未能自动回收的现象。最后,提供了针对性的策略以避免内存溢出问题,确保应用程序稳定运行。

1064

被折叠的 条评论
为什么被折叠?



