> If this is really due to heap fragmentation, then there > must be a bug in the underlying malloc and free. I can't > imagine the memory keeps growing when all the dynamics are > due to getting and freeing memory for labels between > 10 to 36 characters in length. Initially, we will create > useless fragments. But, due to the pigeon-hole principle > (http://en.wikipedia.org/wiki/Pigeonhole_principle) > those fragments cannot remain entirely un-recyclable > even if "free" is very unthinkably simplistic and does not > merge adjacent fragments.
After thinking it further, memory usage may indeed keep growing if "free" is very simplistic and does not merge adjacent fragments. hand Nor Jaidi Tuah _______________________________________________ vala-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/vala-list
