jspmemory-managementmemory-leakseclipse-memory-analyzer

Memory Leak in JSPs


I am trying to work on a memory leak issue. I was analyzing a heap dump and I found that some of the JSPs are using around 51 mb of heap space. Could you please let me know what could be the possible reason. Please find below screenshot of the dump.enter image description here


Solution

  • Thanks for your contribution.

    I was able to find the solution for this memory leak. The leak was due to incorrectly written custom tag library. I referred the below mentioned link.

    https://blog.codecentric.de/en/2009/08/jsp-tag-pooling-memory-leaks-2/