[Development] QProcess fork() failure and overcommit
Christian Kandeler
christian.kandeler at qt.io
Tue Mar 7 15:10:30 CET 2017
On 03/07/2017 02:54 PM, René J. V. Bertin wrote:
>> This kind of stuff seems to happen when the parent process has allocated
>> a lot of memory. I haven't debugged into it, but one idea might be that
>
> What is a lot here? Typical usage for one of the KDevelop sessions that tends to
> be affected is around 70Mb total according to KSysGuard. Hardly a value that
> shocks me...
More than that. Let's say a Gig, as in my example.
>> Note also that starting a QProcess becomes enormously slow in such
>> applications; for instance, on my machine here, I can only start about
>> 20 processes per second from an application that has 1 GB of memory
>> allocated.
>
> As opposed to how many from a leaner application?
Hundreds.
Christian
More information about the Development
mailing list