"Out of Memory" error in Embed

Tom_abc
Tom_abc Altair Community Member
edited November 2020 in Community Q&A

When I expand my simulation periods, the Embed gave me an error message "Out of memory (requesting ... kBytes)". See attached pitture. But I suppose my computer memory is bigger than what it demanded (1.5e+4 kBytes). How can I solve this problem?

image

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited October 2020

    How much memory do you have on your PC?

  • Tom_abc
    Tom_abc Altair Community Member
    edited October 2020

    How much memory do you have on your PC?

    I have a total of 16GB memory, and usually there remains about 8 GB memory

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited October 2020

    It's a weird error message. Requesting only 15 MB :(

  • Tom_abc
    Tom_abc Altair Community Member
    edited October 2020

    It's a weird error message. Requesting only 15 MB :(

    Yes... And if I remove the figure monitors (2D plot), it can run successfully. Maybe it's because I have too many monitors?

  • Tom_abc
    Tom_abc Altair Community Member
    edited October 2020

    I found that when I delete the export txt block (Blocks - Signal Consumer - export), the problem solved. Maybe it's because the output things are too much (120 variables, each variable to export 20000 value). But I still want to export these modeled results, is there some solutions?

  • Tom_abc
    Tom_abc Altair Community Member
    edited October 2020
    Tom_abc said:

    I found that when I delete the export txt block (Blocks - Signal Consumer - export), the problem solved. Maybe it's because the output things are too much (120 variables, each variable to export 20000 value). But I still want to export these modeled results, is there some solutions?

    When I tyied to change some attributes of this export block, "negative" out of memory error occured, see Fig below image

  • Girish Karamadi_21849
    Girish Karamadi_21849 New Altair Community Member
    edited October 2020

    What is the time step you are using to export the values ?? Please attach the diagram/file you are facing an issue .   

  • Tom_abc
    Tom_abc Altair Community Member
    edited November 2020

    What is the time step you are using to export the values ?? Please attach the diagram/file you are facing an issue .   

    Hi Girish, here is the export file panel which is labelled as red. Since I ran a 50-year simulation, the Endtime is 365*50 = 18250. Is it because 18250 is too large? But I have to export these data points...

    By the way, I found everytime I changed the simualtion period, the "Fixed Interval" always changes automatically to the "Step" (0.02 here). But I want it to be just "1", so I have to change it every time (I have many export blocks). Can I make the Vissim not change my "Fixed Interval"?

    image

  • Tom_abc
    Tom_abc Altair Community Member
    edited November 2020

    Hi everyone, here is the solution: I deleled all the plot blocks in the model, then this error doesn't occur. In other words, this error has nothing to do with the export block: it's because of too many plots. See also the help file where it explains why plot block may cause this error.

    image