CandleStick chart and OHLC chart (HIGH low chart ) are created using jfreechart-1.0.14 using OHLCSEriesCollection, OHLCSeries and ChartFactory(createCandlestickChart, createHighLowChart respectively) and data is added using javax.swing.timer with time interval of 100ms.
When memory usage is recorded using jconsole for two hours for both application it shows huge memory difference in both application.
In candlestick chart memory was increased to 400 Megabit(50 MB) while in OHLC chart it increases to 1 Gigabit(256 MB).
What could be the possible reason for that ?