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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to