PDA

View Full Version : detecting memory leak in qt4.6 on ARM9 based embedded board



Ratheendrans
30th September 2013, 07:45
Dear All,

We have build a stand alone multithreaded biometric application embedded linux on ARM9 based 64MB RAM SOC.this application runs for for two weeks and crushes as application excceds memory limit. we run the application on PC with valgrind,the tool does not report any memory leak. I am not sure if valgrind support memeory check on ARM9 machine. so can any one suggest a proper tool to check memory leak for QT embedded application on ARM9 on linux.

Thanks in Advance,

MarekR22
30th September 2013, 17:11
Valgrind has large overheads so you can have a problem on such system.
Here is list (http://qt-project.org/wiki/Profiling-and-Memory-Checking-Tools) of tools recommended by qt (AddressSanitizer looks promising)

I'm suspecting that valgrind didn't detect this memory leak since you didn't covered all possible scenarios.