****SOS****help on jfreeChart's memory leak!

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
varchar
Posts: 1
Joined: Thu Mar 25, 2010 2:46 am
antibot: No, of course not.

****SOS****help on jfreeChart's memory leak!

Post by varchar » Thu Mar 25, 2010 2:55 am

Hi,
I encountered a weird problem when I using JfreeChart 1.0.13.My Web Server is Tomcat 6.0.26 and JDK version is 1.6.0_10.
when I colsed the Tomcat server,I Got A Error Message from its logs:
"A web application appears to have started a thread named [AWT-Windows] but has failed to stop it. This is very likely to create a memory leak."
The Code that made the image is:
ChartUtilities.writeChartAsPNG(response.getOutputStream(),chart, 600, 400);
In the JSP page I use the <image src=''/> tag to get the Image,It all works fine except the Error Message .
I doubt it may lead a low performance to the web server.
If you know how to fix it,Please tell me.I'll appreviate your international help.
Thanks in advance .
A Java programmer from China.

Locked