简体   繁体   中英

JFreeChart: Server stops responding

I am working on a JSP project in Netbeans. In the application, I am generating a graph using JFreeChart, which works fine.

The problem is, that after generating the graph the server stops responding, and I need to restart it to get things working again. Could this be because too many resources have been consumed by JFreeChart?

I based the application I used on code I got from this tutorial on RoseIndia .

Any suggestions/advice? Thanks.

Take a thread dump to check if their is any deadlock.

You can also use JProfiler or Visual VM to see what is happening with memory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM