[Interest] memory fragmentation?
scorp1us at yahoo.com
Tue Aug 21 16:09:44 CEST 2012
By returning out of memory, unrolling the stack, then at the top level displaying the error.
From: Thiago Macieira <thiago.macieira at intel.com>
To: interest at qt-project.org
Sent: Tuesday, August 21, 2012 3:52 AM
Subject: Re: [Interest] memory fragmentation?
On segunda-feira, 20 de agosto de 2012 17.31.27, John Weeks wrote:
> On 20-Aug-2012, at 4:20 PM, Thiago Macieira wrote:
> > In any case, if the application needs memory and can't get it, what do you
> > suggest it do?
> You put up an alert telling the user that the operation can't be completed
> due to insufficient memory,
How? Putting up an alert usually requires allocating memory somewhere, be it
in your application or in the display server.
If we're already out of memory, the likelihood of another set of allocations
succeeding is quite low. Not to mention that, by the time you do run out of
memory, the chances are that the system has been swapping hard for several
minutes. The user will have likely pressed the Reset button long ago.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
Interest mailing list
Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest