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

Very high RAM usage in OSX #10

Open
misterdev opened this issue Nov 23, 2015 · 7 comments
Open

Very high RAM usage in OSX #10

misterdev opened this issue Nov 23, 2015 · 7 comments

Comments

@misterdev
Copy link

I've noticed an high ram usage by this extension on Chrome 46.0.2490.86 (64 bit) on OSX El Capitain,
When I kill the process, the PouchDB extension crashes or stops working.

pouch
ctc9-cawsaauqt4
screen shot 2015-11-23 at 10 25 03

@misterdev misterdev changed the title Very high RAM usage Very high RAM usage in OSX Nov 23, 2015
@marten-de-vries
Copy link
Member

Hmm, interesting. Thanks for reporting. I don't have easy access to OSX myself, so it's hard for me to reproduce. It would be nice if this could be narrowed down a bit to the piece of code that's responsible. Instructions for how to do that are here: https://developer.chrome.com/devtools/docs/javascript-memory-profiling

@misterdev
Copy link
Author

I use OSX at work, so I can't spend too much time every day doing tests, also this problem happens once a day after 3 or 4 hours of work. But I'll try to do some tests from tomorrow.
Thanks for the documentation! I've just one question: I know how to use some of these tools on a web page, how can I inspect the PouchDB plugin inside the DevTools?

@marten-de-vries
Copy link
Member

You can go to chrome://extensions/ , enable developer mode, then click 'background page'. (Not sure about the exact words, the Chrome on my pc isn't in English). Worth a shot.

@misterdev
Copy link
Author

Great! The words are correct, thanks.

@misterdev
Copy link
Author

It worked well today until I restarted my computer, I've seen that the RAM usage grows also if I'm not doing operations on the DB.
I've recorded something from the Profile and Timeline tabs in the ChromeDevTools, you can find them here (https://drive.google.com/folderview?id=0B9FPm2zFS6ZzUTNuaDR1QXBDb3c&usp=drive_web)
I'm not very familiar with these tools so I don't know exactly if I did something useful :D any tip is welcome.

@misterdev
Copy link
Author

Sometimes I get this message in the console.
screen shot 2015-11-27 at 10 50 49

@genu
Copy link

genu commented May 19, 2017

I think this is the same as #14

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

3 participants