Re: panel sugguestion



On Sun, 24 Jan 1999, Michael Lausch wrote:

> is> today i noticed that when the panel has the execute a program, it
> is> works through a fork()/exec() procedure.
> 
> is> the problem is that the panel often takes a number of MB in
> is> memory(when having big drawers for example), sometimes > 4MB.
> 
> the memory page only needs to be copied (and RAM
> allocated) when the child proces writes something in thos page.

Not quite true. A page will be copied if ANY of the processes
modifies it, including the original process.

There is a special case with memory-mapped files though...
They don't have to be copied as much because memory mapped files can also
be found on disk.

 / Johan
         --  johan@tiq.com  --  http://www.dsv.su.se/~j-hanson/ --



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