Ethereal-dev: Re: [Ethereal-dev] Re: rev 15660: /trunk/plugins/asn1/: packet-asn1.c /trunk/epa

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 01 Sep 2005 23:34:54 -0700
ronnie sahlberg wrote:

One remaining important structure we still use from glib is the
GHashTable that I very strongly belive has performance issues,

...and uses g_malloc(), which helpfully aborts the program if you run out of memory. The same applies to other glib data structures.

Perhaps an allocator that throws an exception when we run out of memory, so that we just stop the operation (and, if it's a read, perhaps just give up on reading the file and release memory, so that we can display an error dialogue).