Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

WPF IntensityGraph explodes memory?

$
0
0

Hello, we have been using Measurement Studio for windows forms for a long time, but has recently started to use the WPF library. However, we now have a problem with the WPF version of the IntensityGraph. We are using it to display a real time version of a waterfall plot. Essentially the same code as used in M19753, however we have upscaled it such that we have a capacity of 2000 in each collection and a length of 2500 samples in each appended element. This to improve resolution. However, the result is that the memory explodes after a short while(> 2Gb), crashing the application. Doing the same plot using the windows form version of the IntensityGraph is no problem. We then set X and Y history to 2000 and 2500 and use the append function to add new elements to the graph. The memory usage is less than 100 Mb and code runs smoothly. What seems to be the problem here? Is it we that do something wrong or is it not possible to gain the same efficiency with the WPF version as with the append function in the windows forms version? If necessary I can provide simple code examples of both version to demonstrate issue.

 

Viewing all articles
Browse latest Browse all 1999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>