Memory leak caused by viewport rendering?
I'm currently using 4.10.3 on Windows 10 and my memory usage continually climbs when the viewport has to render. This happens in all my projects, even new empty blank ones. The memory leak slows down when the editor doesn't have focus, since the rendering rate slows down to 3fps, so it seems like a little bit of memory is leaked on each rendered frame. The memory leak increases rapidly when I have something selected in the viewport. Deselecting the object by hitting ESC slows down the memory leak. Closing the viewport stops the memory leak altogether, but the memory is not released (it just remains at its current value). Likewise, switching over to a different tab without a visible viewport will stop the memory leak. Strangely, while having a viewport tab visible, right clicking in the node editor and then left clicking in an empty location will temporarily stop the memory leak for about 10 seconds.
Hopefully these details will help someone pinpoint the bug. It's a little inconvenient having to restart the editor every hour to prevent my computer from crashing.
asked Feb 19 '16 at 07:47 PM in Bug Reports
I tested 4.11 preview and so far it seems like the issue is fixed, at least for me. The memory is actually being released in 4.11, unlike 4.10. Do you suggest I migrate my projects over to 4.11 preview?
In regards to the memory leak in 4.10, I've tried switching to 1080p, but I still get the leak. I've also tried on another computer with a GTX970, and I get the same leak. Then I tried with an AMD Radeon graphics card, and I still get the leak (though it might be a little slower, maybe just due to the graphics card rendering at a slower frame rate). I still haven't gotten any responses from others on the forum.
Considering that the memory leak happens on multiple systems with different graphics cards, the leak might not be due to the graphics drivers (and also because 4.11 preview doesn't have the leak). When comparing 4.10 to 4.11 preview, it just seems like 4.10 doesn't free up memory. If I close editor tabs and windows, I'd expect the memory usage to drop, but it never does. On the other hand, 4.11 preview actually does free up memory constantly.
answered Mar 21 '16 at 08:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here