Question regarding how memory in construct works.

0 favourites
  • 4 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • Hi. I have 2 pictures here. One of my construct 2 window showing expected download and memory use size, the other shows my actual memory usage in the task manager.

    http://puu.sh/c6Fmw/1840fe9c21.png

    http://puu.sh/c6Fmz/652295bc0f.png

    I would really appreciate if someone can explain what happens behind the curtains. Why are there 3 instances of the game running, and why is the memory usage almost 3 times of the expected value? Anything I can do to get it closer to the expected 365mb of memory consumption?

    Thanks

  • I guess you exported your game with Node-Webkit?

    So, I think in Construct 2 you see the memory usage only of your game (all the images, sounds), but when

    you actually run the game then the run-time (Node-Webkit) needs memory too, because in the end Node-Webkit is a special version of the Chrome browser. And it's not 3 instances of your game running, it's 3 threads of Chrome/Webkit.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Memory usage

  • I guess you exported your game with Node-Webkit?

    So, I think in Construct 2 you see the memory usage only of your game (all the images, sounds), but when

    you actually run the game then the run-time (Node-Webkit) needs memory too, because in the end Node-Webkit is a special version of the Chrome browser. And it's not 3 instances of your game running, it's 3 threads of Chrome/Webkit.

    Thanks for the reply. Still not quite sure what the numbers really mean though. I would guess the thread of 25 mb is the " mainchrome thread" running. What I don't understand is the 300 mb and 600 mb. Is the 300 MB all the assets loaded in, and the 600 mb the memory consumption of the current active layout?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)