Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 tomcat编译jsp出现内存泄漏
winterld





发贴: 29
积分: 0
于 2004-09-21 00:00 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这些天做的一个应用会不断向tomcat中发布新的jsp文件,但服务器运行一段时间就会出现内存泄漏问题,在网上找找发现可能与系统调用javac编译jsp文件有关,不知大家有没有遇到过。

系统环境:Linux EL3/ Linux RedHat9 /Tomcat4.1.24/ Tomcat 5.0



作者 Re:tomcat编译jsp出现内存泄漏 [Re:winterld]
nothing

天外飞仙.....

CJSDN高级会员


发贴: 1636
积分: 131
于 2004-09-21 09:29 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
---------------
Tomcat on Linux:
---------------

Virtual machine crashes can be experienced when using certain combinations of
kernel / glibc under Linux with Sun Hotspot 1.2 to 1.3. The crashes were
reported to occur mostly on startup. Sun JDK 1.4 does not exhibit the problems,
and neither does IBM JDK for Linux.

The problems can be fixed by reducing the default stack size. At bash shell,
do "ulimit -s 2048"; use "limit stacksize 2048" for tcsh.

GLIBC 2.2 / Linux 2.4 users should also define an environment variable:
export LD_ASSUME_KERNEL=2.2.5

Additionally, Redhat Linux 9.0 users should use the same setting, to avoid
stability problems.




躲得过的怪物,躲不过的刺激

作者 Re:tomcat编译jsp出现内存泄漏 [Re:winterld]
winterld





发贴: 29
积分: 0
于 2004-09-22 13:15 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
非常感谢,谢谢先


作者 Re:tomcat编译jsp出现内存泄漏 [Re:winterld]
winterld





发贴: 29
积分: 0
于 2004-09-22 13:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这个办法也试过了,但是没有效果



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923