Out of Memory problem.

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello CTF forums

    I've been having this problem for about 3 years now and I still haven't come any closer to a fix or answer as to why it happens or what is causing it. When building a game as a stand alone application after a few seconds it will display an "Out of Memory" error message and cancel. This same error also pops up after switching between frames of the game eventually causing to slow when loading it to where the frame will simply not load some assets to eventually not being able to do anything as the error keeps popping up.

    If anyone has any help or information on this matter it would be greatly appreciated.

  • One thing you should do with larger graphics is to make sure they are optimized by the power of 2

    Please login to see this link.

    If they are not optimized this way they can use quite a bit more memory than they need to

    Also, what format are your sound files?

    OGG is a great format due to it's small file size and because it's a free and open standard

    [SIGPIC][/SIGPIC]

  • it is like you use an image of 16384 x 2048 px ! so try to change the dimension to 8192x1024 and use a Xscale/Yscale in the start of frame. you will divide by 4 the size of this image. In this example, xscale=1.587 and yscale=1.347.

    [SIGPIC][/SIGPIC]Please login to see this link.

  • what is your target device and what are you using to develop on? your 1 texture size of 16384 x 2048 would require roughly ~100mb of memory, if you had a lot of these images that would cause a problem pretty quickly, especially if you have animated backgrounds or something..

    Probably best to let someone take a look at your file, or just do a process of elimination to find the culprit.

    edit. one more thing, deleting instances of the background might not have an impact, you might have to completely remove the texture from memory.

    Check out my Game on Itch.io
    Please login to see this link.

  • Update, while originally I couldn't even run the game anymore without that message popping up, it seems to have changed as now I can play it. I have yet to try building it. I was going to try to make it for desktops only as a start, to answer your question.

  • I can actually build the game now. The only other issue I can think of now is the problem of using the popup message object to make dialogue show up but a lot of times it doesn't show up at all. Or the first few messages will show up but the rest will not, soft locking the game. When running the game in standard mode, the popup messages would usually show, but now only the first few messages appear and the rest don't ever show up. When running in Direct 3D9, the game stops for a second but the message will not show. There's also the problem of the menu bar not showing in this mode, which is also used as a crucial gameplay aspect.

  • If you press F8 during gameplay the menu for the application should from the top however when playing in Direct3D9 the menu will not show when pressing F8. Is there a way to make it show when playing in this mode?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!