Good morning, I’m writing here to ask about diagrams with a huge amount of links. I’ve got one big diagram “Diagram A” which contains many nested diagrams “Diagram B”, “Diagram C” and so on… Inside those diagrams, I’ve got Nodes that contain other nodes and links as drawn on the picture. “Node A” has inside “Node B”, two times “Node C” and links between them. During loading diagrams, we route links inside, with LinkRouter set to GridRouter. Just before the routing, we set “Node A” isObstacle to false.
The first several diagrams are loaded correctly and the links are routed, but after processing several dozen diagrams and nodes, which look the same, we’re facing an issue in a Link.Route() method. After being called already several dozen or even hundreds of times, it stops in that method call, CPU shows continuous load, and memory consumption seems to increase in small steps up to 20 GB of RAM (I didn’t wait longer, but it was still increasing).
Originally we were thinking that a specific routing situation causes the issue. E.g. When processing a list of Diagrams 1-150, it always got stuck, say, at diagram 119. However, after some testing, it seems more like an overflow; i.e. when in the above situation e.g. removing diagram 119, it now gets stuck at diagram 120 etc. At some time earlier, we discovered that Mindfusion had issues with processing too many objects by the same method, but then it was throwing an exception (which we caught and logged). Here no exception is thrown.
Have you ever faced that kind of routing issue? Do you have any idea why is that happening?
Thanks for your time. Piotr M.
|