Like Tree1Likes
  • 1 Post By Elysia

8 processes for a single Tab ?

This is a discussion on 8 processes for a single Tab ? within the Tech Board forums, part of the Community Boards category; Any idea why a single empty tab opens up 8 (zombie?) processes ? Is something here not what that appears ...

  1. #1
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498

    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 ?
    Name:  snapshot1.png
Views: 100
Size:  191.9 KB
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,449
    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.
    Yarin likes this.
    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
    1,597
    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,167
    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をこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,449
    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,167
    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, 12: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, 10:00 PM
  4. Processes
    By MathFan in forum C++ Programming
    Replies: 2
    Last Post: 12-25-2002, 10:46 AM
  5. processes
    By Nor in forum Windows Programming
    Replies: 1
    Last Post: 03-23-2002, 02:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21