Hi Joseph,

Just a thought - could it be that this fields grow and grow because the file is never printed? (Obviously, you don't want to print thousands of print jobs)

Tilman

Am 10.04.2014 13:50, schrieb Joseph Siddal:
Hi,

I've found a memory leak that is caused when doing high volumes of printing.

The code that reproduces the bug is attached. The code just continuously sends the same printjob to the default printer. The pdf I'm using is available here <https://www.dropbox.com/s/7k2uzn0w0fkue11/job.pdf>. The memory leak is evident after 6mins of running the code. The sun.print.CustomMediaTray has 2 static ArrayList fields which are continuously growing in size going from size 29000 to 10000+ after 6 minutes and continuing to climb.

This is using OSX Mavericks, JDK 1.8.0.

Any help would be appreciated.

Regards
Joseph

Reply via email to