You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/30 21:36:20 UTC

[GitHub] [pulsar] merlimat commented on issue #4413: Consumer subscribe memory leak when server not reachable

merlimat commented on issue #4413: Consumer subscribe memory leak when server not reachable
URL: https://github.com/apache/pulsar/issues/4413#issuecomment-497494889
 
 
   @sleungtoast Nice catch! The leak is there because the `ClientCnx` object is created but since the connection fails to get established, it will never call the `connectionInactive()` handler. 
   
   The leaked memory though is smaller than the above reported (eg: I did put a `System.gc()` in between because `Runtime.freeMemory()` is not accounting for non-referenced objects).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services