question

Angela Garriga avatar image
0 Likes"
Angela Garriga asked Jeanette F commented

Virtualize objects to alleviate memory usage

Greetings,
I am testing this flowitem generation logic but I encounter that too many flowitems are occupying memory in the model. In fact, when I try to open the Memory Profiler to check where the most memory is being used, it will not even open. Doing some research about this issue I have seen that others were able to cut down on memory usage through virtualizing objects. I would like to know how object virtualization works step by step and how could I apply it to this model. Would that be an adequate fix for the memory usage issue?

Attached below are the model and the Excel archive that feeds the logic.

Archivo 1 Demanda Prueba 3.xlsx
Prueba3_GeneradorDemandaReal_2.fsm

FlexSim 24.0.3
memory profilervirtualized items
· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Angela Garriga,

Thank you for contributing to our community! We couldn't identify a maintained license or subscription linked to your account.

You may need to update your profile information to identify yourself as a license owner or their associate. Check out our article for how to ensure you receive timely support. If you update your profile comment back to let us know - we'll adjust the priority of your post accordingly.

If your current license is expired, please contact your local distributor to renew.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Angela Garriga, was Jason Lightfoot'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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Just turn off "Show Contents" of the queues under "More Visuals" - the problem is you're trying to draw 800K items, not that it's using too much memory (10GB). Why do you need this many in a queue?

5 |100000

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