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

Huge RAM usage. #46

Open
welovfree opened this issue May 3, 2022 · 5 comments
Open

Huge RAM usage. #46

welovfree opened this issue May 3, 2022 · 5 comments

Comments

@welovfree
Copy link

I was playing "Super Mario Bros. Deluxe (USA, Europe)" using the emulator in the website and noticed that it's using lots of RAM

@binji
Copy link
Owner

binji commented May 4, 2022

What browser were you using? How did you measure RAM usage?

@welovfree
Copy link
Author

welovfree commented May 4, 2022

What browser were you using?

I am using Chrome Version 101.0.4951.41 (Official Build) (64-bit)

How did you measure RAM usage?

I used both Windows task manager and Chrome task manager

1Rf9LGQiBn_04-05-22
ONcfoHu5mf_04-05-22

And this is how the game's screen looks like when I terminate the process in Windows task manager, and that's how I confirmed it's the process that corresponds to the emulator.

T2kvWGUifz_04-05-22

@binji
Copy link
Owner

binji commented May 6, 2022

That's the GPU process, which handles all the graphics for Chrome. binjgb uses the GPU to render, so it will stop working if you kill that process.

@binji
Copy link
Owner

binji commented May 6, 2022

If you want to measure how much ram the page is using, the best way is to load devtools on the page, then go to memory and take a heap snapshot.

@welovfree
Copy link
Author

welovfree commented May 7, 2022

Isn't that too much for a GPU process to take that amount of memory? As shown in the Chrome task manager I think the page doesn't take too much of memory, the "Huge RAM usage" I was referring to is the one taken by that GPU process, or maybe I'm missing out on something.

The heap snapshot

YnlnOxtR5r_07-05-22

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

No branches or pull requests

2 participants