[Mono-bugs] [Bug 324318] Handling of out of memory issues

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 26 06:25:24 EDT 2007


--- Comment #4 from Paolo Molaro <lupus at novell.com>  2007-09-26 04:25:23 MST ---
g_mem_set_vtable() isn't useful, since one of the main uses cases for handling
OOM errors would be the moonlight plugin where the glib mem vtable can't be
changed. GLib has g_try_malloc() which we could use, but still the best way is
to just get rid of glib.
The buffer to be released when malloc fails can be considered: the issue is
that we don't know how much memory we'd need in it and that we don't want to
bloat processes if possible.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list