Very very interesting. I have been analyzing my app's performance as well
as GC via Java Visual VM, and I've been almost coming to the same
conclusion that Will is stating here.

Is there a blog or white paper that states best-practices for app
developers to help container (tomee) release memory and/or help GC? I think
I've seen a memory leaks mentioned quite often on the tomcat user list. Is
that the best place to start or can anyone advise?



On Thu, Apr 11, 2013 at 2:46 PM, Will Hoover <[email protected]> wrote:

> Attached is a simple Rest application (can be accessed via
> http://localhost:8080/test/secure/rest/one , but that is irrelevant to
> the memory leak issue) that when stopped or undeployed via
> http://localhost:8080/manager and then clicking "Find Leaks" it will show
> the following:****
>
> ** **
>
> The following web applications were stopped (reloaded, undeployed), but
> their****
>
> classes from previous runs are still loaded in memory, thus causing a
> memory****
>
> leak (use a profiler to confirm):****
>
> /test****
>
> ** **
>
> This is happening with many of our applications that we have deployed to
> Tomee 1.5.1. In fact, we have several other applications that do not yet
> rely on any Tomee specific features that show the same memory leak issue.
> To confirm that it's unrelated to Tomcat itself we downloaded a vanilla
> Tomcat 7.0.34 version and deployed the same applications on it and tried
> the stop/undeploy/find leaks steps and did not receive the memory leak
> message.****
>
> ** **
>
> ** **
>

Reply via email to