Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Very interesting, I wonder what kind of tab could be 3GB?

Do you know why they had a 64-bit Chrome for Linux since 2009? Why wouldnt they want to switch for Windows/Mac sooner. I bet the user base is greater.



1. It's not always single tab. JS heap may need to be shared between multiple tabs due to sharing of objects via `window.opener` and other leaky cross-frame hacks.

2. The process will sooner run out of addresses in the 3GB space rather than actual memory. After running for a while a process may end up with objects allocated all over the address space, so that there isn't enough contiguous address space free for new allocations, even though there's still plenty of free memory in small chunks between live objects.


Wouldn't surprise me if Chrome defragments individual tab heaps


The only thing I can think of is something that's doing heavy WebGL rendering, or some sort of js memory leak.


Also a tab that is playing a short low resolution clip using Flash Player.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: