ViewPolar - linesize and memory usage
Posted: Fri Nov 27, 2015 10:51 am
In our application the user can set the line size of each diagram at runtime. We noticed that setting linesizes > 1 resulted in much higher memory usage.
I added my sample code which creates a polar diagram with one point line series with 150.000 points and alternates the linesize between 1 and 2 every two seconds.
Memory consumption is about 300-400 MB for linesize = 1 and 600-900 MB with linesize = 2. So far the values stay consistent after 30 minutes, so I don't think there's a memory leak.
Is there a technical explanation why larger linesizes result in such memory requirements?
I added my sample code which creates a polar diagram with one point line series with 150.000 points and alternates the linesize between 1 and 2 every two seconds.
Memory consumption is about 300-400 MB for linesize = 1 and 600-900 MB with linesize = 2. So far the values stay consistent after 30 minutes, so I don't think there's a memory leak.
Is there a technical explanation why larger linesizes result in such memory requirements?