Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scratch Desktop - Application helper uses a lot of memory (Only checked on Mac) #122

Closed
redstone-dev opened this issue Jun 3, 2020 · 8 comments

Comments

@redstone-dev
Copy link

Expected Behavior

Scratch Desktop should not freeze up.

Actual Behavior

Scratch Desktop sometimes freezes up and gets stuck. In severe cases it can even become just a blank white window.

This may seem like it happens randomly, but if you look in Activity Monitor

Steps to Reproduce (Mac Only)

  1. Press Cmd-Space and type in Activity Monitor.
    Step 1

  2. Fire up Scratch Desktop.
    Step 2

  3. Notice the Scratch Desktop Helper's high memory usage.
    Screen Shot 2020-06-03 at 17 51 48

Operating System and Browser

Mac OS 10.14.6, Chrome 83.0.4103.61 on MacBook Air 2017 (I think)

@redstone-dev redstone-dev changed the title Scratch Desktop - UI randomly becomes unresponsive, sometimes becomes just a blank white window Scratch Desktop - Helper has high memory usage Jun 3, 2020
@redstone-dev redstone-dev changed the title Scratch Desktop - Helper has high memory usage Scratch Desktop - Application helper has high memory usage Jun 3, 2020
@redstone-dev redstone-dev changed the title Scratch Desktop - Application helper has high memory usage Scratch Desktop - Application helper uses a lot memory Jun 3, 2020
@redstone-dev redstone-dev changed the title Scratch Desktop - Application helper uses a lot memory Scratch Desktop - Application helper uses a lot of memory Jun 3, 2020
@redstone-dev redstone-dev changed the title Scratch Desktop - Application helper uses a lot of memory Scratch Desktop - Application helper uses a lot of memory (Only checked on Mac) Jun 3, 2020
@BryceLTaylor
Copy link

@redstone2010 Do you have to do anything in particular in Scratch to use that much memory? Is there a project you're running that you could link to?

@redstone-dev
Copy link
Author

@BryceLTaylor

@redstone2010 Do you have to do anything in particular in Scratch to use that much memory? Is there a project you're running that you could link to?

I might be able to, but it's probably too large to be put on GitHub...

@redstone-dev
Copy link
Author

Whoops, accidentally closed it! LOL

@BryceLTaylor BryceLTaylor transferred this issue from scratchfoundation/scratch-gui Jun 10, 2020
@BryceLTaylor BryceLTaylor self-assigned this Jun 10, 2020
@BryceLTaylor
Copy link

@redstone2010 If the file is too large, could you upload it to the Scratch website and share a link to it?

@redstone-dev
Copy link
Author

@redstone2010 If the file is too large, could you upload it to the Scratch website and share a link to it?

Maybe. I'll see though, since the file was so large that I had to import it in Scratch Desktop.

@ecc521
Copy link

ecc521 commented Aug 1, 2020

If the scratch helper is running 630MB, what's the total memory usage? Opening up a larger project like Generic Red (https://scratch.mit.edu/projects/292297781/) uses a solid 250MB in browser, and Electron can easily run 200MB on it's own. If the project you are using is too large for the scratch website, I suspect this isn't actually an issue with the app.

@redstone-dev
Copy link
Author

@ecc521 Hm, maybe.

@BryceLTaylor BryceLTaylor added this to the August 2020 milestone Aug 6, 2020
@BryceLTaylor
Copy link

I'm going to close this issue since I believe the impact is extremely low.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants