Malloc/Free Patch
Adam Charrett
ajmcharrett at hotmail.com
Sun Feb 11 19:52:26 CET 2007
I would just like to say that I have been using libdvbpsi for the last year and think its great, the only library that fulfilled my needs and works!I've been using libdvbpsi in my application, dvbstreamer, and have been finding that there was a huge number of malloc/frees which seemed to be causing some memory fragmentation, so I modified libdvbpsi to only allocate more memory if it didn't already have a free section to use.I've include the patch here, I hope you consider it helpful. On average it reduce the malloc/free count from several million (when running continuously for a day or 2) to 2.ThanksAdam Charrett
_________________________________________________________________
Live Search: Better results, fast
http://get.live.com/search/overview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20070211/dcdf3492/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdvbpsi-claimrelease.patch
Type: text/x-patch
Size: 15440 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20070211/dcdf3492/attachment.bin
More information about the libdvbpsi-devel
mailing list