PermGen problems with Lift and Jetty

后端 未结 5 1618
死守一世寂寞
死守一世寂寞 2020-12-23 02:33

I\'m developing on the standard Lift platform (maven and jetty). I\'m repeatedly (once every couple of days) getting this:

Exception in thread \"7048009@qtp-         


        
5条回答
  •  一整个雨季
    2020-12-23 03:04

    This is because of the reloading of classes as you suggested. If you are using lots of libraries etc. the sum of classes will rapidly grow for each restart. Try monitoring your jetty instance with VisualVM to get an overview of memory consumption when reloading.

提交回复
热议问题