Thread: 8 processes for a single Tab ?

  1. #1
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657

    8 processes for a single Tab ?

    Any idea why a single empty tab opens up 8 (zombie?) processes ?
    Is something here not what that appears ?
    8 processes for a single Tab ?-snapshot1-png

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    It doesn't use 8 processes per tab. It has one process per tab + some other processes that handles other functions than tabs.
    If you're concerned about memory, don't use Chrome. It eats up a ton.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    This is true, I had to discover it the hard way, Firefox with _a lot_ of tabs open often still uses less than Chrome with just few on basic pages.
    I suppose it's the classic RAM <-> CPU usage tradeoff.

  4. #4
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Chrome uses a new process for every tab (sandboxing). Theoretically better for security and stability.

    Firefox shares as much memory between tabs as possible.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by cyberfish View Post
    Chrome uses a new process for every tab (sandboxing). Theoretically better for security and stability.
    However, that has its price.
    20 tabs in Chrome uses about 1 GB memory, while in Firefox it uses ~400 MB.
    I think I understand why Firefox hasn't implemented such a scheme yet.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    Quote Originally Posted by Elysia View Post
    However, that has its price.
    20 tabs in Chrome uses about 1 GB memory, while in Firefox it uses ~400 MB.
    I think I understand why Firefox hasn't implemented such a scheme yet.
    True. I usually have around 40 tabs open, and that eats about 2GB of memory.

    I don't really mind. I have 4GB and unused memory is unused memory (I also have an SSD, so disk caching is not that important).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Single Entry Single Exit
    By robwhit in forum C Programming
    Replies: 5
    Last Post: 11-11-2007, 01:34 PM
  2. Processes
    By wise_ron in forum C Programming
    Replies: 3
    Last Post: 09-11-2006, 09:22 PM
  3. Want to end a few processes
    By Swordsalot in forum Windows Programming
    Replies: 7
    Last Post: 02-20-2006, 11:00 PM
  4. Processes
    By MathFan in forum C++ Programming
    Replies: 2
    Last Post: 12-25-2002, 11:46 AM
  5. processes
    By Nor in forum Windows Programming
    Replies: 1
    Last Post: 03-23-2002, 03:52 AM