I’m not advocating for the cache to be cleared every time the render queue is utilized. My contention is about the necessity of intentionally retaining in memory the frames generated by renderings initiated from the render queue. Whether it’s for proxies, pre-renders, or final delivery, the utilized output is the exported file, not the frames left in memory.
As the export progresses, memory usage increases, and in my setup, it surpasses 90% at some point. Although no further increase in memory usage is observed in subsequent renderings, rendering under high memory usage conditions becomes significantly slower due to factors such as the employment of virtual memory.
My proposition is that if memory were properly released, it should be possible to further reduce the export time.
Understood, and I've experienced the same thing myself, but I'm not sure anything anything can or will be done about this as it might simply be a factor of the incredibly complex stuff going on under the hood with rendering in AE. That being said, a feature request is always worth posting. If you create a new post tagged as an "Idea" instead of a discussion, list out your proposition in clear steps with what the current behavior is and what you would like to see happen, and see if it gets traction within the community.