question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Jeanette F commented

FlexSim hanging issue?

Hi Team,

My model contains discrete and continuous objects, and I am running it for 365 days. At the end of run, when I am trying to open the window like parameters, performance measures and global table to check the results, it is not responding or there is very slow response.

Here is the screenshot of system utilization:

1738136094924.png


Any idea, why is it happening so?

Thanks!

FlexSim 25.0.0
hanging issue
1738136094924.png (49.6 KiB)
· 6
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@Ankur A3, yes, you ran out off memory. If you look into system performance and free ram allocation and additional an increased drive memory consumption, you will see there is no free RAM. If you want to see data it must be loaded into RAM. If it is larger than your physical available RAM your system will get slower and does not respond anymore. It is up to you to manage your amount of gathered statistical data. Perhaps you export it into a database or file instead of keeping it in your model.
0 Likes 0 ·
Ankur A3 avatar image Ankur A3 Joerg Vogel commented ·
@Joerg Vogel

I can only see 32% memory allocation.

Could you help me to know where to check it in screenshot?

Thanks!

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Ankur A3 commented ·

Main Menu > Debug > Memory Profiler and Performance Profiler

memoryprofiler0.jpg

Near model start

memoryprofiler1.jpg

A bit later

0 Likes 0 ·
memoryprofiler0.jpg (251.3 KiB)
memoryprofiler1.jpg (150.9 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Joerg Vogel commented ·

1738152461535.png

I don't see what you're seeing Jörg.

0 Likes 0 ·
1738152461535.png (7.9 KiB)
Joerg Vogel avatar image Joerg Vogel Jason Lightfoot ♦♦ commented ·
@Jason Lightfoot, you are absolutely right about this snippet of a state. I have seen models still gathering data long after I have hit a stop button. And my attached picture are done on a machine with just 16GB memory, creating items every second runing for just a few days. You see this model ran out of memory really fast by just two statistical collectors. If a model is going into a stop, updating statistical graphs take some time. If there is not any visible change then I would check the memory allocation from within FlexSim.
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ankur A3, was Steven Hamoen's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered

@Ankur A3 Check also your event list and the performance profiler. If you for instance collect data looking through earlier results to create new results, this will of course increase the CPU time overload. Looping through always increasing tables have that effect for instance.

5 |100000

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