This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi,
I've found out pissible memory leak in DiagramBitmapRenderer.Png.Render method. Here is my snippet:
using(MemoryStream stream=new MemoryStream())
where ds is my diagram surface control. When I call this method +117 MB memory is used. I've tried force running garbage collector collect with no result. Also tried taking memory snapshot in ANTS Memory Profiler and this program also show that +117 MB of RAM is used when I call method.
Regards, Peter |
|
|
Thanks Peter I have resolved this memory leak which can be downloaded through the nightly builds from tomorrow the 23rd of June. This has only been done in WPF Diagrams version 2.0. I have used the ANTS Memory Profiler to confirm that memory and instance counts now decrease after the diagram has been exported to png. - Jason |
|