On 22/10/2013 09:27, Andrea Bosio wrote: > Hello all, > > I have an application running on Tomcat, with dbcp 1.4, which shows an > abnormal memory usage. > Heap memory usage grows without releasing. > > Analyizing an heap dump with Eclipse Memory Analyzer, I find some strange > objects instances of > class org.apache.commons.pool.impl.CursorableLinkedList$Listable > > A few objects (10) occupy a large amount of memory (50Mb or so).
That looks perfectly normal if a connection object takes around 5Mb. That does seem a little large for a connection but you'd need to dig into exactly what was taking up all that space. Depending on the configured caches that could be fine too. > Then I have a big number of objects (10.000) each one occupying small > amount of memory (less than 10kb). What is retaining the references to these objects? > I think that both situations are strange. Nothing reported so far looks strange. > Do you have any suggestion? Do more research. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
