1StepCloser's Recent Forum Activity

  • Tab-specific memory footprints for Chrome: Shift + Esc

  • You probably already spotted this when you clicked on the option in the engine, but it states:

    The maximum spritesheet size to use. Smaller sizes save memory but larger sizes can improve performance

  • > Have you tried working on a project that's been opened for a few hours vs. the same one that's been freshly opened?

    So I was working for 8 straight hours today without closing the project. I can confirm that there is no memory leak in my case. Chrome memory usage stays at around 3.5 GB. Sometimes it goes up to 5-6 GB (when I open more tabs or preview the project), but eventually returns to 3.5 GB. And it seems to be unrelated to the lagging issue. I first noticed lagging after about 10-15 minutes, and memory usage was at 3.5 GB at that time.

    Interesting, when you refer to memory usage, are you using the memory footprint number or the memory statistics from task manager?

  • In my case, when I open my project in Chrome, it uses around 3.5GB of memory, and this number doesn't change much with time.

    Interesting, the performance of my project when just opened is great, it's usually only over the duration of the project being open does this diminish.

    So we might have different problems.

    Have you tried working on a project that's been opened for a few hours vs. the same one that's been freshly opened?

  • Here's a comparison of the javascript profile for moving an action from one place to another in two projects:

    This exact same event structure for testing the movement of an action was used in both projects; the action was moved from the top event to the bottom event once:

    Fresh project (Total blocking time: ~0.72 seconds):

    Large project - Just opened (Total blocking time: ~0.85 seconds):

    Same Large project that's been open for hours (Total blocking time: ~4.3 seconds):

    Total blocking time relevance:

    The main thread is considered "blocked" any time there's a Long Task—a task that runs on the main thread for more than 50 milliseconds (ms). We say the main thread is "blocked" because the browser cannot interrupt a task that's in progress. So in the event that a user does interact with the page in the middle of a long task, the browser must wait for the task to finish before it can respond.

    Whenever I experience this particular slowdown it seems to coincide with the projects memory footprint:

    The top row is the project just opened

    The bottom row is the same project that's been open for hours

    I've mentioned this before in another thread, but the difficulty is identifying what causes this memory footprint to stack up.

    I tried to test this by repeatedly using undo / redo, and although it raised the memory footprint about 200 mb it eventually performed what I'd call a garbage dump and the memory footprint normalized:

    Subscribe to Construct videos now
  • Not to be repetitive if it has already been discussed (I feel like I've posted this before), but, I use Chrome on a Win10 Intel CPU laptop, I have a project with over a thousand events, and I only experience lag when I am in the event sheet view and have hundreds of events visible. I have all events in groups, so I can right-click>event sheet view>collapse all groups, and performance jumps up significantly.

    Also, many yonks ago when I bought my gaming laptop, I noticed C3 performed awfully in Chrome and better in Firefox. Turns out it was Nvidia settings affecting this, as nvidia forces Chrome to use the integrated graphics, rather than the dedicated GPU. It actually prevents you from forcing Chrome to use the GPU, so I ended up disabling my integrated graphics in my laptops BIOS, and all has been smooth ever since.

    Hope this is useful to someone!

    Thanks for the input!

    I've seen group collapsing of benefit for performance, however there appears to be some issues independent of that. (video below is an example)

    I have a project with over a thousand events

    I don't recall having any performance issues when my project was around this size, but earlier in this thread when I referred to larger projects, I was referring to around 15k+ events. Perhaps there's a threshold or the issues scale with project size.

    I only experience lag when I am in the event sheet view and have hundreds of events visible

    Here's an example of how the # of events displayed in a sheet is likely a separate issue (although still relevant):

    Subscribe to Construct videos now

    I ended up disabling my integrated graphics in my laptops BIOS, and all has been smooth ever since

    Nice solution!

    My PC only has a dedicated GPU, but as you said, hopefully this info helps someone!

  • 1StepCloser Thanks! For me this also happens only in one large project.

    Is the issue intermittent in your case? One minute the editor is very slow, and the next five minutes it may be running perfectly fine?

    Yes, I think that's the puzzling part of it all.

    One moment I can drag a group to another spot in 1 second, the next time it may take 10 seconds.

    One moment I can search for an object to set an action for in 1 second, the next time it may take 5 seconds.

    There a few of these "quirks" that I can't quite isolate what's causing the issue, but there are others that I can repeat a bit more consistently.

    This also makes submitting a bug report tricky in terms of reproducibility.

    It becomes a tug of war between the time it takes to find a way to reproduce the cause vs. the time it takes to deal with the lag.

    One thing's clear though in my experience:

    The bigger the project, the more frequent these "quirks" popup, but the larger the project, the more difficult it becomes to identify the cause.

  • Je Fawk pandabear7413 birdboy And others who have this issue in Chrome - could you share your hardware config? I wonder if this happens with Intel CPUs?

    RAM: 32 gb

    GPU: RTX 3080

    CPU: i9-10900KF 3.70 GHz

    I get lag fairly often with my current project (despite the dropdown change that improved performance), so it doesn't appear to be AMD specifc.

    *Note I do tend to work with large projects

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Memory Footprint - Comparing Projects - Based On Time Open

    Subscribe to Construct videos now

    Almost double the memory footprint despite the projects having equal content.

    I'm curious if undo,redo,save,create,delete and related operations are potentially leaking memory to somehow?

  • Similar issue:-

    What exactly happens:-

    When I start working, in the beginning Construct 3 (editor) works fine. But after approx 1 hour, editor lags horribly (although project runs smoothly)

    What I do:-

    I have a Ryzen 5600H laptop. I tweaked settings in AMD software & selected "performance" instead of "battery optimisation". Also I noticed that issue dissapeared when I used my laptop in plugged mode.

    Maybe our issues are different but I am adding few inputs just in case

    I work on a desktop, but thanks for your input.

  • Mostly a question for Ashley,

    I've come across a performance issue involving the time it takes to change the position of event sheet elements, and it appears to be dependent on how long the project has been open.

    In general, submitting a bug report involves submitting a project that can reproduce the issue.

    However in this case, it appears to be a duration-dependent issue that might take hours to notice the performance hit.

    How would you recommend I submit a bug report for this?

    Subscribe to Construct videos now

    Alternatively, as a band-aid approach, I could of course just close the project and re-open it every few hours.

    (Main reason I don't do this is due to the time it takes to open large projects)

1StepCloser's avatar

1StepCloser

Member since 1 Mar, 2018

Twitter
1StepCloser has 3 followers

Connect with 1StepCloser

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies