JFreeChart initial loading
-
- Posts: 7
- Joined: Thu Jul 20, 2006 10:37 am
JFreeChart initial loading
In my application the JFreeChart initial loading is too slow ...How to solve this problem?If anybody knows the solution please respond
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
How long does it take? When you say "loading", do you mean class loading? Or drawing an initial chart (say, one with a lot of data)? Or something else?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 7
- Joined: Thu Jul 20, 2006 10:37 am
You could try to set the initial heap sizes:
This will set the initial heap size to 256MB and the maximum heap size to 256MB as well. This increases the speed a little, because the JVM isn't allocating and freeing much memory then. Not the best solution, but it's a way.
Code: Select all
-Xmx256m -Xms256m