Is my game running out of memory? When I try to add a new object the dialog is empty...

0 favourites
  • 6 posts
From the Asset Store
Kids Game
$24.50 USD
50% off
New Sounds Added Update: 115 new sound effects added for no additional cost!
  • I'm working on a word game and I'm experiencing some strange problems. I wonder if they are memory related?

    ISSUE 1

    My game seems to run fine on most devices, but some iPhones and iPads are crashing at launch. (Not all, just some.)

    ISSUE 2

    After I work in the editor for an hour or two, I can no longer add new objects. The dialog box appears but there are no objects. The box is empty. Am I running out of memory/system resources?

    UPDATE: Here are some specs...

    CHROME:

    Chrome is up to date and I'm not using any extensions (that I remember)

    Version 114.0.5735.199 (Official Build) (64-bit)

    MY PC

    Operating System: Windows 11 Home 64-bit (10.0, Build 22621)

    System Model: ROG STRIX G15DK_G15DK

    Processor: AMD Ryzen 7 5800X 8-Core Processor (16 CPUs), ~3.8GHz

    Memory: 32768MB RAM

    Available OS Memory: 32686MB RAM

  • Just a quick followup...

    There is a search bar in the objects dialog. So I tried to search for one of my objects. That didn't work, but then I noticed that I can't delete the last letter in the search bar.

    EXAMPLE:

    Using the dialog box above (which was empty), I tried to search for "function". Nothing appeared, so I deleted the search term.

    Each letter deleted (with backspace), as it should, until I got to the final "f". I can't delete it. Not sure if this is related to my problem somehow or not.

  • Very peculiar. What browser do you use, and what extensions? What's your computers RAM and GPU?

    I use Chrome, with no extensions, and I can use C3 for hours and hours and I've never encountered similar issues, but I do have 16GB RAM and a rtx 2060 so definitely fine in terms of RAM or VRAM.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, JASEOO. I should have included that with my original post. (Just added it.)

    Here's some info about my project. Though I'm not sure if this is including my dictionary which has nearly 15,000 words in it. (This is a .json file that I load into a dictionary.)

    Project statistics

    Name: MyGame

    Layouts: 1

    Event sheets: 2

    Total number of events: 221

    Total number of conditions: 231

    Total number of actions: 449

    Total lines of JavaScript code: 0

    Object types: 57

    Families: 2

    Estimated peak image memory usage

    For each layout, the image memory requirement is estimated by summing the memory usage of the spritesheets used by objects on the layout. The peak image memory usage is the size of the largest single layout, since the runtime only loads one layout at a time.

    Estimated peak memory usage is 18 mb due to largest layout game_layout

    Top 10 layouts by image memory usage

    game_layout: 18 mb

    Top 10 event sheets by event count

    Event sheet 1: 111 events

    Functions: 110 events

  • Your project is not big and it should definitely not cause your computer to run out of memory.

    Must be an issue with Chrome. Try opening the project in another browser, preferably in Firefox. If it works in Firefox, try cleaning cache/data in Chrome, disabling extensions, reinstalling Chrome.

    If it still doesn't work, press F12 in the editor and see if there are any errors in the console log.

  • I cleared my browser history (cache). So far I haven't had the problem happen again, but it still needs more testing.

    Thanks for the suggestion dop2000. :-)

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