AnsweredAssumed Answered

PDF in doc library causes memory leak ?

Question asked by manudehanoi on Sep 9, 2011
Latest reply on Sep 14, 2011 by manudehanoi
Hello,
I'm running 3.4d and I've got only (*sigh*) 800mb of available RAM for it. To avoid the permgen problem I'm running the packaged tomcat on Jrockit JVM (But issue is prolly the same under the normal sun JVM in the package).

Alfesco is running fine with -Xmx350m (350megs of heap space), and I used visualJM to confirm that. However the total memory usage of the tomcat service (under win 2008 server), is around 650m after launching, and stays stable until

- I enable the "Recently Modified Documents" dashlet on a site dashboard (only 2sites so far, with less than 50 docs total). Then although the heap memory stays constant at 350m (as witnessed on visualJM ), the tomcat6 process memory usage (in task manager) increases rapidly (less than a minute) to over 800m untill the process crashes.
- Same problem occured when opening a folder in the document library of the site
- I could delete the pdfs using "/alfresco", it was imposible to access them from "/share" without crashing tomcat
- After deleting the culprit docs I could enable the "Recently Modified Documents" dashlet without crashing tomcat

There is some issue with whatever component is processing the PDFs and allows to shutdown tomcat through a memory hog/leak. I cant upload the PDF here because it's a company doc, but it seems to be a PDF generated from a ms word doc (docx) with a (cracked?) acrobat distiller 9.0.0. Will try to create another another one and post it on monday for testing.
Cheers

Outcomes