Just to give some more information (maybe someone with more in-depth knowledge finds the time to take a look at this issue):

I have an EAR file with two EJB3 entity beans and a web client WAR.
It can be found here:
http://www.informatik.fh-wiesbaden.de/~knauf/KomponentenArchitekturen2008/kuchenzutatstruts/KuchenZutatStruts.ear
On copying it to the deploy directory of JBoss, memory usage increases by 20 MB. On calling the first struts page (http://localhost:8080/KuchenZutatStrutsWeb/ - then click the link on the index page), memory usage increases by another 30 MB. This happens with every redeploy, at least during normal developing/testing cycles, which means one redeploy every few minutes. If I wait on longer period until the next redeploy, memory usage might decrease again. But after 5-10 redeploys without longer pauses between (which is normal when trying to find/fix bugs), the machine is constantly swapping, and the app is poorly slow.

I suspect a JBoss 5 problem, but as I have only very basic struts knowledge, I don't know enough about the internals to file a struts or jboss JIRA.

Thanks

Wolfgang Knauf

Wolfgang Knauf wrote:
Hi all,

I have a quite small Struts 2 application running on a JBoss 5.0GA.
It contains some EJB3 entity beans, an EJB3 session bean, a handful of struts actions and three JSPs. After about 5 redeploys (I use JSR88), JBoss is consuming more and more memory (>500MB) and thus getting poorly slow.
The system is Windows XP64, JDK 1.6, deployment from Eclipse 3.4/WTP 3.0.
All my other small apps don't show this behaviour, it happens only with struts 2.

Has anybody seen this behavior, and has any ideas?

Thanks

Wolfgang


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to