[liblouis-liblouisxml] Memory leaks (real or imaginative)

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 11 May 2012 17:33:25 +0200

Hi all

We are using liblouis quite heavily at SBS now for Braille production.
After rolling out the newest release we noticed an increase in memory
consumption and we have to restart the web application (which uses
liblouis via the Python bindings) once in a while. I suspected memory
leaks in liblouis. However after having done some tests with valgrind[1]
and lou_allround it appears that there are no leaks. Mesar has a use
case involving undefined characters and cursorPositions but I suspect
that is not my problem. Maybe it is in the Python language bindings
somewhere? I'll have to do some more test next week.

The good news that it appears that there are no memory leaks in
liblouis.

I added some section to the HACKING file documenting on how to invoke
valgrind.

Thanks
Christian

Footnotes: 
[1]  http://valgrind.org/
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Tag der offenen Tuer
Die SBS laedt Sie herzlich ein: 30. Juni 2012 von 9 bis 16 Uhr.
Mehr Informationen erhalten Sie unter www.sbs.ch/offenetuer
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] Memory leaks (real or imaginative) - Christian Egli