PDA

View Full Version : Qt C++ huge memory leak



alenn.masic
3rd November 2012, 15:27
Hi all

I made application which use a lot of files stored in resource file. I didn't have any problems until I imported button background image, when I try to compile application it freezes my computer and fills all RAM memory and also all swap memory. Only thing I can do is to reboot my computer. Btw I'm using Ubuntu 12.04.
This is not the first time, it happend before, but only when I'm using resource files.

amleto
3rd November 2012, 15:56
So this is nothing to do with programming then? Please look at the forum you are in.

If the problem is compiling, then you should be checking gcc or something. If it's a resource tool problem, then there is a forum for that...

alenn.masic
3rd November 2012, 16:18
sorry for that

alenn.masic
3rd November 2012, 19:37
For anyone with this problem I will say how I solved this. I just removed resource file and used full paths to all images and sounds I used in my app, that way my application was a lot faster and less memory hungry.