Framebuffer memory usage

Is there a way to flush the image / memory usage from the framebuffer? The only way I’ve found is to hide everything, drop the res, then render a blank screen to clear the cached image. If I’ve rendered a 10k+ image then the RAM stored is huge.

Hi,
you can use the “Clear frame buffer” button (a red circle with an x in the middle) on the top toolbar to clear the contents of the frame buffer. Please make sure that you saved the image before taking this step since this action cannot be undone. How huge is the ram usage on your case?

Thats weird. I’ve used Vray for a good few years now and I swear I’ve never seen that button. Thank you very much!

I need to do a couple more tests, but does that button flush the cached RAM? I see that it removes the image the image visually, but does it free up the RAM to be available to windows again?

I think it actually doesn’t. I need to check with the devs if there’s a way to actually do that, but as far as I can remember - it was designed in this way.

While we don’t have a way to do that, there’s actually a couple of ways to flush the memory.
1. the next render will flush the buffer and fill it with other pixels. You can, for example, disable the render elements and do a quick render.
2. (easier) - have a pre-saved empty image in your history. Load that image to the buffer and you will have sort of “flushed” the memory, by loading an image that has way less information.

Ah ok. Thanks for the info. Yeh that was what I was experiencing with the memory being kept by the framebuffer. I’ll try the pre-saved image workaround. Cheers.