Idea

Kyle P avatar image
2 Likes"
Kyle P suggested Jacob Gillespie commented

Debug/breakpoint RAM usage

While using Flexsim, once the model gets to a certain complexity the debug/breakpoint function is practically useless, which is exactly when you need the debug function the most. What is happening is that the model will run fine, using about 3-3.5gb of RAM. Then if a debug is attempted by placing a breakpoint somewhere in the model, the model will consume the remaining bit of RAM in the system (>11gb) and crash the computer.

I have been working around this issue by carefully placed print() statements, but it would be nice to step through the code if needed.

debugrambreakpoint
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

3 Comments

·
Jacob Gillespie avatar image
2 Likes"
Jacob Gillespie commented

This was fixed in the FlexSim 19.0.6 bugfix

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kyle P avatar image
1 Like"
Kyle P commented

rameater.fsm

Here's an example... I've already put the breakpoints in the UserCommand. Run the script then press continue and it will likely replicate the issue. The script takes ~20min to run on my computer without the debug; so I apologize for that.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kyle P avatar image
0 Likes"
Kyle P commented Phil BoBo edited

Here is an example... I stopped it before it reached 16gb, but it would have continued the upward trend indefinitely. I can post an example model if needed, but I will need to trim it down below 25MB.
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

I've added a case to the dev list to look into this. Any example or replication steps you can provide would be helpful. The simpler the example, the better.

0 Likes 0 ·

Write a Comment

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas