Re: suspected memory leak in io.netty.buffer.PoolChunk

2020-04-30 Thread Martin Grigorov
Hi,

On Thu, Apr 30, 2020 at 10:04 AM Ragavendhiran Bhiman (rabhiman)
 wrote:

> Hi All,
>
> When I analysed the heap dump the primary suspect shows that 54.21%
> occupied by the from io.netty.buffer.PoolChunk memory leak.
>

io.netty.* is from Netty project (https://netty.io/index.html)
It seems your application uses it, and probably doesn't close some Netty
resource.
Apache Tomcat itself does NOT use Netty!

I recommend you to use Eclipse MAT (https://www.eclipse.org/mat/) to
analyze the heap dump and see what keeps references to these PoolChunk
instances.


> Kindly help me to proceed further to solve the problem.
> Apache used version is 8.5.29.
>
> Thanks & Regards,
> Raghav
>
> On 29/04/20, 6:53 PM, "Ragavendhiran Bhiman (rabhiman)" <
> rabhi...@cisco.com> wrote:
>
> This question is from 8.5.29 version.
>
> On 29/04/20, 6:52 PM, "Ragavendhiran Bhiman (rabhiman)"
>  wrote:
>
> Hi,
>
> I am seeing a continuous memory leak from
> io.netty.buffer.PoolChunk, Kindly advice how to go ahead and trace the
> problem?
>
> Thanks a lot.
>
> Regards,
> Raghavendran
> +91 8220757651.
>
>
>


Re: suspected memory leak in io.netty.buffer.PoolChunk

2020-04-30 Thread Ragavendhiran Bhiman (rabhiman)
Hi All,

When I analysed the heap dump the primary suspect shows that 54.21% occupied by 
the from io.netty.buffer.PoolChunk memory leak.
Kindly help me to proceed further to solve the problem.
Apache used version is 8.5.29.

Thanks & Regards,
Raghav

On 29/04/20, 6:53 PM, "Ragavendhiran Bhiman (rabhiman)"  
wrote:

This question is from 8.5.29 version.

On 29/04/20, 6:52 PM, "Ragavendhiran Bhiman (rabhiman)" 
 wrote:

Hi,

I am seeing a continuous memory leak from io.netty.buffer.PoolChunk, 
Kindly advice how to go ahead and trace the problem?

Thanks a lot.

Regards,
Raghavendran
+91 8220757651.




Re: suspected memory leak in io.netty.buffer.PoolChunk

2020-04-29 Thread Mark Thomas
On 29/04/2020 14:23, Ragavendhiran Bhiman (rabhiman) wrote:
> This question is from 8.5.29 version.
> 
> On 29/04/20, 6:52 PM, "Ragavendhiran Bhiman (rabhiman)" 
>  wrote:
> 
> Hi,
> 
> I am seeing a continuous memory leak from io.netty.buffer.PoolChunk, 
> Kindly advice how to go ahead and trace the problem?

Use a profiler.

Where is this in the Tomcat code base?

Mark

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



Re: suspected memory leak in io.netty.buffer.PoolChunk

2020-04-29 Thread Ragavendhiran Bhiman (rabhiman)
This question is from 8.5.29 version.

On 29/04/20, 6:52 PM, "Ragavendhiran Bhiman (rabhiman)" 
 wrote:

Hi,

I am seeing a continuous memory leak from io.netty.buffer.PoolChunk, Kindly 
advice how to go ahead and trace the problem?

Thanks a lot.

Regards,
Raghavendran
+91 8220757651.



suspected memory leak in io.netty.buffer.PoolChunk

2020-04-29 Thread Ragavendhiran Bhiman (rabhiman)
Hi,

I am seeing a continuous memory leak from io.netty.buffer.PoolChunk, Kindly 
advice how to go ahead and trace the problem?

Thanks a lot.

Regards,
Raghavendran
+91 8220757651.