Re: Memory leaks in C

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Memory leaks in C

sinha_utkarsh1990
I've had similar problems lately... was doing some real time image
processing... so it literally went out of memory after consuming 2GB
memory in 2mins O.o

finally got it fixed after going through a few article here! I
compiled a "checklist" of memory leak problems for future reference...
thought might be useful :)

http://liquidmetal.in/articles/image_processing/opencv-memory-management.php

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Memory leaks in C

lordfinesse6
you can also use valgrind (on linux) if you have memory leaks hidden
in your code

Loading...