Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Not able to view diagram (Read 2523 times)
Selvam
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 8
Joined: Oct 13th, 2021
Not able to view diagram
Dec 10th, 2021 at 7:02pm
Print Post  
Hi Team,

We are getting out of memory exception while generating diagram like one value pointing to other value.

Refer Attachment OutOfMemory-Error and also attached sample application.

Kindly suggest to avoid error.

  

DTProcessFlowDiagram.zip ( 267 KB | 261 Downloads )
OutOfMemory-Error.png ( 160 KB | 114 Downloads )
OutOfMemory-Error.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Not able to view diagram
Reply #1 - Dec 13th, 2021 at 9:42am
Print Post  
Hi,

There might be millions of paths in larger graphs. Try new EnumAllPaths method here, it immediately yields each found path instead of collecting them all in a list -

https://mindfusion.eu/_temp/netdiag_enumpaths.zip

Otherwise use the FindAllPaths overload that takes maxPaths argument to limit the number of collected paths.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint