When in Solid View mode, if I change to Render Preview mode I get the expected bump in memory usage on the GPU. When I return to SV from RP the memory usage returns to the previous Solid View level.
If I change to Material Preview mode I get the expected bump in memory usage on the GPU BUT, when I return to SV from MP the memory used appears to be retained.
I noticed this because I have file that is close to the max memory of my GPU.
I can open it in SV, change to RP and it renders fine, if however I go to MP first and then onto RP it fails with a CUDA out of memory errror.
Returning to SV does not appear to free up the memory used by MP. RP does not work from then on until I do a full render, which appears to free up the GPU memory before doing anything else. RP mode then works again until I go into MP mode, after that it fails again.
I’ve attched a graph of the GPU memory showing the pattern, which is reproducable every time.
I have used a separate file and the memory retention behavior is the same.
Ubuntu 20.04 64 Bit 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
RTX2060 driver 450.66