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

Re: DeviceKit and /usr



Twas brillig at 11:00:07 08.09.2009 UTC+02 when joss@debian.org did gyre and gimble:

 JM> If it’s an operation that specifically requires much memory, Glib
 JM> provides g_try_*alloc functions for that.

 JM> However, when allocations start failing for string manipulation
 JM> operations, the application is doomed.

Freeing caches or correctly finishing (e.g. rolling back current file
operation) and shutting down are the possible actions in case of lack of
memory.

 JM> Note that most high-level languages are also going to simply dump
 JM> an unhandled exception when the process gets out of memory.

Yes, and it can be handled (though rarely do).

-- 
  http://fossarchy.blogspot.com/

Attachment: pgpYnl4uX9QDg.pgp
Description: PGP signature


Reply to: