[OpenSIPS-Devel] SF.net SVN: opensips:[5230] trunk/db

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Jan 29 18:11:50 CET 2009

Revision: 5230
Author:   bogdan_iancu
Date:     2009-01-29 17:11:50 +0000 (Thu, 29 Jan 2009)

Log Message:
- reduce the number of memory fragements used by a DB result:
   previous number = 1 + 2 + no_cols + 1 + no_rows
   current number = 3

the number of mem fragments is now constant and what is more important is the fact that we avoid keep allocating very small chunks (like 8 bytes). 

This will reduce the fragmentation of the private memory due of continues DB queries -> opensips can run for longer periods of time with no mem issues.

Another commit will follow for syncronizing the DB implementation with these changes in the API

Modified Paths:

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

More information about the Devel mailing list