Earlier quoted context omitted.
> But surely, the tabs run private instances of the layout engine and javascript VM when they process the page, no? No. For example, you can get direct access to another tab's "window" object in this way, as long as it's same-origin: https://developer.mozilla.org/en-US/docs/Web/API/window.open... > When would it ever make sense for multiple tabs to directly access each other's runtime state? For Web compatibility.
I'm not sure that your example prevents the implementation of per-tab javascript VMs. Wouldn't the browser be designed such that its kernel mediated all tab-to-tab runtime state queries? Then, tabs wouldn't directly access each other's state, and the kernel would interpose security policies (such as same-origin-only requests) between tabs regardless of a tab's behavior. To keep this arrangement transparent to program…
Electrolysis – run web content in a separate process from Firefox
91–100 of 107 posts
Re: Electrolysis – run web content in a separate process from Firefox
#92Earlier quoted context omitted.
> But surely, the tabs run private instances of the layout engine and javascript VM when they process the page, no? No. For example, you can get direct access to another tab's "window" object in this way, as long as it's same-origin: https://developer.mozilla.org/en-US/docs/Web/API/window.open... > When would it ever make sense for multiple tabs to directly access each other's runtime state? For Web compatibility.
I'm not sure that your example prevents the implementation of per-tab javascript VMs. Wouldn't the browser be designed such that its kernel mediated all tab-to-tab runtime state queries? Then, tabs wouldn't directly access each other's state, and the kernel would interpose security policies (such as same-origin-only requests) between tabs regardless of a tab's behavior. To keep this arrangement transparent to program…
* http://www.chromium.org/developers/design-documents/site-iso...
Re: Electrolysis – run web content in a separate process from Firefox
#93Re: Electrolysis – run web content in a separate process from Firefox
#94This is a main reason I don't use Chrome. Since each tab is running under a sep process, there is no easy way to tell how much total memory is being used. Despite all the improvements, Firefox still has some pretty bad memory leaks and often runs over a gig of memory with just 5 or 6 tabs open. If they go this route, mem leaks will be harder to spot.
One can even see the memory consumption and CPU usage of each tab and extension.
Re: Electrolysis – run web content in a separate process from Firefox
#95This is a main reason I don't use Chrome. Since each tab is running under a sep process, there is no easy way to tell how much total memory is being used. Despite all the improvements, Firefox still has some pretty bad memory leaks and often runs over a gig of memory with just 5 or 6 tabs open. If they go this route, mem leaks will be harder to spot.
Chrome has a built-in Task Manager (Shift+Esc). One can even see the memory consumption and CPU usage of each tab and extension.
Re: Electrolysis – run web content in a separate process from Firefox
#96Earlier quoted context omitted.
Chrome has a built-in Task Manager (Shift+Esc). One can even see the memory consumption and CPU usage of each tab and extension.
That doesn't work for me on a mac. But what about total usage? If I have to add up the mem used for each tab it won't be helpful.
The latter displays total memory usage at the top of the page.
edit: As child poster noted, total memory is overcounted as it seems to be quite difficult to audit exactly what memory is shared within each child process. (see https://code.google.com/p/chromium/issues/detail?id=25454 )
Re: Electrolysis – run web content in a separate process from Firefox
#97Earlier quoted context omitted.
That doesn't work for me on a mac. But what about total usage? If I have to add up the mem used for each tab it won't be helpful.
Find it under Window > Task Manager, or detailed memory usage information by navigating to "chrome://memory" The latter displays total memory usage at the top of the page. edit: As child poster noted, total memory is overcounted as it seems to be quite difficult to audit exactly what memory is shared within each child process. (see https://code.google.com/p/chromium/issues/detail?id=25454 )
Re: Electrolysis – run web content in a separate process from Firefox
#98Now the question is how tightly locked down the page processes are. Can they access files? Or is all file and persistent state access via some separate process? Done right, each page process should execute in a jail, lacking the privileges to alter external files or persistent state.
Re: Electrolysis – run web content in a separate process from Firefox
#99Earlier quoted context omitted.
>RAM is cheap Great, buy me another 32GB then please . People shouldn't have to have high end gaming rigs to run a sodding browser. Mozilla (and google) are deluding themselves in thinking that their particular software is the be all and end all of a computer, and should be introduced to this strange concept called 'multitasking'. Firefox: 1.5GB Thunderbird: ~1GB OS: 1GB (conservative estimate) Various background pro…
It sucks that you're getting downvoted. I totally agree that this "RAM is cheap" thinking is problematic. Sure, if you only ran one program at a time on a computer, it would make perfect sense. But when I have a finite amount of RAM to spread among a multitude of applications, screaming "RAM is cheap" is bollocks. Never mind that on my current laptop I'm already at the max it can physically support, which means if I…
In any case, the number one evaluation criterion for browsers is not the RAM profile.
If performance matters that much, perhaps you should instead be asking why we are writing applications and UI in an ugly evolution of SGML.
Before you fault the Moz devs, ask yourself why we have CSS for high DPI images and why designers embed videos into website headers. Maybe your needs aren't at all times reflective of the majority. The browser serves the spec. The spec serves every case you care to imagine. Because that's what we evolved a doc format to do.
(Just imagine a parallel universe where it was instead MS Word that evolved into a facebooking client!)
Re: Electrolysis – run web content in a separate process from Firefox
#100This is a main reason I don't use Chrome. Since each tab is running under a sep process, there is no easy way to tell how much total memory is being used. Despite all the improvements, Firefox still has some pretty bad memory leaks and often runs over a gig of memory with just 5 or 6 tabs open. If they go this route, mem leaks will be harder to spot.
Seeing "how much memory is being used" is a major use case for you using a browser?
If a browsers works fast and doesn't leak memory, one shouldn't care how much memory exactly is used.