Re: memory allocations.
- From: Daniel Veillard <veillard redhat com>
- To: Sander Vesik <sv117949 ireland sun com>
- Cc: Havoc Pennington <hp redhat com>, Ulrich Drepper <drepper redhat com>, Alan Cox <alan redhat com>, Chris Chabot <chabotc reviewboard com>, iain <iain ximian com>, gnome-hackers gnome org
- Subject: Re: memory allocations.
- Date: Sat, 2 Mar 2002 04:56:28 -0500
On Fri, Mar 01, 2002 at 09:06:45PM +0000, Sander Vesik wrote:
> the malloc callers toplist is:
> g_malloc
> calloc
> XCreateGC
> xmlStrndup
> XListPixmapFonts
> _XEnq
> xmlParseAttValue
For the last one, unfortunately it's hard to fix, the SAX C API
requires the argument/values to be passed as 0 terminated string. Also
the XML specifcation requires normalization of attribute values which
tends to generate reallocation of strings at that level too.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]