马克-to-win:有关Session和servletContext长期占用服务器内存的解决方案就是:对于确定不再需要的数据,一定要及时释放所占 资源,比如:context.removeAttribute("mysqlds");否则的话,严重的情况可能造成内存泄露。(请参见我Java部分第 三章内存泄漏部分知识。)
有关Session和servletContext长期占用服务器内存的解决方案
猜你喜欢
转载自blog.csdn.net/mark_to_win/article/details/89225510
今日推荐
周排行