fyi <https://lh3.googleusercontent.com/-QtVteY_aWhw/WAcn1OjO65I/AAAAAAAAAQs/v54joKg24UcbxoagIg1nncI5gTTgCaAPACLcB/s1600/Screenshot%2Bof%2BEclipse%2BMemory%2BAnalyzer%2B%252819-10-2016%252C%2B3-58-00%2BPM%2529.png>
On Wednesday, October 19, 2016 at 3:56:17 PM UTC+8, cr...@livewirelabs.com.au wrote: > > > We have just encountered the same issue, been in production for about a > week, exactly the same leak. We have just started investigating. Will let > you know how we go. > > Cheers > Craig > > > On Wednesday, September 28, 2016 at 8:26:34 AM UTC+8, Taehyun Park wrote: >> >> Hello I have a memory leak problem that my server application hangs due >> to out of heap exception. This kind of memory leak is very new to me so I'm >> not sure how can I resolve this issue. >> Could anyone take a look at leak suspescts and tell me if this is caused >> by grpc? >> Please let me know if you need further information from my heap dump. >> >> Thank you in advance. >> >> *Problem Suspect 1* >> >> 5,938 instances of *"io.netty.buffer.PoolThreadCache"*, loaded by >> *"sun.misc.Launcher$AppClassLoader >> @ 0x6c621ecf8"* occupy *1,280,098,864 (57.78%)* bytes. >> >> >> *Problem Suspect 2* >> >> 18 instances of *"io.netty.util.concurrent.FastThreadLocalThread"*, >> loaded by *"sun.misc.Launcher$AppClassLoader @ 0x6c621ecf8"* occupy >> *477,526,856 >> (21.56%)* bytes. >> >> >> Biggest instances: >> >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7e01360 >> epollEventLoopGroup-3-9 - 36,210,360 (1.63%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7e55440 >> epollEventLoopGroup-3-16 - 34,013,456 (1.54%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7e06c68 >> epollEventLoopGroup-3-15 - 33,574,944 (1.52%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c8359008 >> epollEventLoopGroup-3-11 - 31,410,768 (1.42%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c808dff0 >> epollEventLoopGroup-3-4 - 30,982,336 (1.40%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c81be308 >> epollEventLoopGroup-3-5 - 30,751,936 (1.39%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7ef0ef0 >> epollEventLoopGroup-3-12 - 30,093,296 (1.36%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c84370a8 >> epollEventLoopGroup-3-10 - 28,821,824 (1.30%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7ee6d40 >> epollEventLoopGroup-3-13 - 28,559,312 (1.29%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c8239158 >> epollEventLoopGroup-3-2 - 28,383,352 (1.28%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7f5b168 >> epollEventLoopGroup-3-8 - 28,157,184 (1.27%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c8021f68 >> epollEventLoopGroup-3-6 - 28,136,600 (1.27%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c80ceb10 >> epollEventLoopGroup-3-1 - 28,117,656 (1.27%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c8160f90 >> epollEventLoopGroup-3-3 - 27,727,816 (1.25%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c7f1e778 >> epollEventLoopGroup-3-14 - 26,839,032 (1.21%) bytes. >> - io.netty.util.concurrent.FastThreadLocalThread @ 0x6c8324368 >> epollEventLoopGroup-3-7 - 25,741,736 (1.16%) bytes. >> >> >> >> *Problem Suspect 3* >> >> 167,233 instances of *"io.netty.util.Recycler$WeakOrderQueue"*, loaded by >> *"sun.misc.Launcher$AppClassLoader >> @ 0x6c621ecf8"* occupy *312,969,784 (14.13%)* bytes. >> >> >> >> -histo:live >> >> num #instances #bytes class name >> >> ---------------------------------------------- >> >> 1: 833363 1513088008 [Ljava.lang.Object; >> >> 2: 722280 473815680 io.netty.util.internal.shaded.org. >> jctools.queues.MpscArrayQueue >> >> 3: 384506 49012000 [Lio.netty.util. >> Recycler$DefaultHandle; >> >> 4: 230678 26402920 [C >> >> 5: 666720 21335040 io.netty.buffer. >> PoolThreadCache$SubPageMemoryRegionCache >> >> 6: 490524 15696768 io.netty.util.Recycler$DefaultHandle >> >> 7: 340638 13625520 io.netty.util.Recycler$WeakOrderQueue >> >> 8: 404527 12944864 io.netty.buffer. >> PoolThreadCache$MemoryRegionCache$Entry >> >> 9: 365494 11695808 io.netty.util. >> Recycler$WeakOrderQueue$Link >> >> 10: 341456 10926592 java.lang.ref.WeakReference >> >> 11: 82884 9542232 [B >> >> 12: 85442 7518896 io.netty.buffer. >> PooledUnsafeDirectByteBuf >> >> 13: 174182 6967280 java.util.WeakHashMap$Entry >> >> 14: 212647 5103528 java.lang.String >> >> 15: 61547 4431384 net.sf.ehcache.Element >> >> 16: 7825 4131336 [Lio.netty.handler.codec.http2. >> internal.hpack.HeaderField; >> >> 17: 55560 3852160 [Lio.netty.buffer. >> PoolThreadCache$MemoryRegionCache; >> >> >> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/92b55111-358e-41f0-9f6a-89516c256d70%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.