5 ms·
The whole point of having separate processes for each tab is that it isolates them. If one crashes, the others remain up. It supports multiple processors, too.
by bitslayer 12y ago
The whole point of having separate processes for each tab is that it isolates them. If one crashes, the others remain up. It supports multiple processors, too.
- silverbax88 12y agoI would ask you to open up your task manager and try picking the largest-in-memory Chrome task and kill it, then see if you still think they are completely isolated. I agree with your point, but give it a shot.
- muze 12y agoI don't think that's really fair, the largest Chrome task in memory isn't a tab or extension. Yes I suppose it isn't perfectly isolated and if something happens to the main program task it will obviously cause problems but if a single page or extension crashes everything else lives on.
- yellowapple 12y agoIt's a perfectly fair point. The fact that the largest Chrome task by far is not a tab or extension at all, but is the core of Chrome itself, indicates that maybe - just maybe - Chrome isn't doing as good a job of keeping things isolated as it should. That process shouldn't be doing a whole lot beyond driving the UI and managing the lifecycles of its children.
- frankzinger 12y agoThe point is to isolate any code which renders HTML, plugins, etc., i.e., anything which processes untrusted external input, something which the main process does not do.
- rjbwork 12y agoThat is chrome itself...of course closing the parent process of a bunch of processes that are tied to it and that it monitors is going to close them all.
- snowwrestler 12y agoI've used the Chrome task manager to kill tabs. There is one process in there that's just called "Browser"--that's obviously the parent, and the UI won't let you kill it. You might be referring to the OS task manager, but I don't use that--don't need to. I think the fact that Chrome has its own task manager is a killer feature.
- maxlybbert 12y agoFirefox followed Chrome's lead. It also has separate processes for each tab now.
- higherpurpose 12y agoIn the stable version? I would doubt that, because my Firefox still freezes.
- cpeterso 12y agoNo. Firefox's multi-process support ("Electrolysis" aka e10s) is only enabled in the Nightly channel. Firefox does not yet use tab-per-process like Chrome. Nightly only uses two processes: one from the browser (the "chrome" process) and one for all tabs (the content process). You don't get crash or security isolation between tabs when they all share one content process, but that process can be sandboxed by the OS and it reduces memory overhead. Firefox will later experiment with multiple content processes, comparing one vs N tabs per process.
- kuschku 12y agoIt already does. Electrolysis allows you to specify how many processes you want to allow maximum.
- Silhouette 12y agoFirefox on my PC seems to disagree with you. Try to use any site with a Flash video player since some of the recent updates and you're very likely to see a hang. I don't know whether the cause is Firefox or Flash, but the end result is still taking out the entire browser session, not just the tab with the Flash video.