[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why mozilla always starts five instances??

Thus spake Zhao You Bing:
> And every one cost 58M memory,
> How to make mozilla only start one process??

It doesn't start 5 instances, and each one is not taking up 58M memory.
Mozilla is a multithreaded program.  Under Linux, each thread appears to
be a separate process, but in reality they share memory space.  Thus,
what you see in 'ps' or 'top' may *appear* to be 5 processes, each
taking up 58M memory, but is in reality 1 process (with multiple
threads), which takes up a *total* of 58M memory.

Nathan Poznick <poznick@conwaycorp.net>

Nature encourages no looseness, pardons no errors. - Ralph Waldo

Attachment: pgpUS1NqTWvHO.pgp
Description: PGP signature

Reply to: