Environment:
Resin-2.0
apache-1.3and
jdk-1.4.2
OS:redhat(physics memory is 1G)
The web service is composited by several web app.
We start resin by command "httpd.sh -Xmn100M -Xms500M -Xmx500M",
and we write the following code in a monitor
jsp.
the output like following, we found the totalMemoryKB is varid in 180000-210000
PROBLEM
When several user access the diff web app, resin throws OutofMemory error.
note, if many user access the same web app, resin would not crash.
so it is very puzzle.
on the other hand, if we stop the timetask in my web apps, in any case the resin would not crash.
in BackupTableTask extended TimerTask, the code as the following, and the task is invoked in init() by a
servlet:
So, whether could I say TimerTask is conflicted with resin?
How should I deal it?