Menu

#29 Allocator Sample Leaks Memory

open
nobody
Samples (12)
5
2012-10-29
2011-09-12
Anonymous
No

I found there's a serious memory leak in VMR9Allocator Sample.
After open and close the video, it will leak about 10 MB.

I check the code and it seems correct to free all managed objects.
I also use tools (Yourkit) to look into it and it indeed free all managed objects, but in handle view, it apparently exist handle leak.

But after hard working for 3 days, I still can't find any way to resolve or workaround it.
Original I want to reuse Allocator instead of new one, but it introduce much more issues, such as random crash.

Discussion


Log in to post a comment.