On 13 Mar 2008, at 12:37, Kyle Kaliebe wrote: > Dspace Tech List, > > Our Dspace installation has been generating an increased number of > out of memory errors. My assumption is that there is a memory leak > somewhere in the installation and that as our traffic increases, > this problem will only worsen. > > Has anyone encountered memory leaks or out of memory errors in the > Dspace installation before? To help begin my search, I am wondering > if someone could point me in the right direction of where such > memory leaks might exist. > > The errors we are encountering are most often occurring when users > access administrator statistics and communities that have complex > community pages with a high number of collections and sub-communities.
DSpace does suffer from memory leaks - our live installation suffers from them to the extent that the Tomcat server must be restarted daily or it will run out of heap and crash within a day and a half. One place to start looking is any use of the ItemIterator class. Thanks to the pervasive use of database code throughout the application there is an underlying JDBC ResultSet object which, in 1.4.2, is not being freed whenever ItemIterator is used. And ItemIterator is used quite a lot. -- Simon Brown <[EMAIL PROTECTED]> - Cambridge University Computing Service +44 1223 3 34714 - New Museums Site, Pembroke Street, Cambridge CB2 3QH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

