So the most important part here is to always attr_alloc/attr_free and entry_alloc/entry_free rather than calling a generic malloc/free for these items now. There's some cruft in here that might be better suited to a general purpose object manager, but it's working well for now.Update of /repo/OpenLDAP/pkg/ldap/servers/slapd
Modified Files: attr.c 1.113 -> 1.114 entry.c 1.149 -> 1.150
Log Message: Entry/Attribute struct caching, to minimize malloc fragmentation Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they were probably broken already anyway.
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/