Skip to main content
Flaviator
Inspiring
February 24, 2022
Answered

Previsualization and cache

  • February 24, 2022
  • 2 replies
  • 394 views

Hi everyone,

 

I'm facing a problem (I guess) for wich I can't find answer on the community and web.

I have the latest version of After Effects 22.2.0 and as it is a fresh install, I didn't tweak anything yet.

 

When I open an existing project and do nothing, AE start to add cache images into RAM and cache folder all by itself. I wait few minutes and see that all the timeline is full of cache (green and blue) on the entire composition duration (about 3 minutes long).

So now in my windows task manager, I can see a full utilisation of my RAM (or the quantity allocated to AE) and the cache disk is already fill with 20 Go.

 

Even if this automatic previsualization can be useful, I'll need to purge the cache disk really often. Is there something I can do to manage this ?

 

Thank you all in advance !

This topic has been closed for replies.
Correct answer Flaviator

I think you're mistaking AE's regular memory caching for the spec preview. AE has always done this even before CC 2022 and would try to cache everything to RAM after the current time indicator. It's only gotten a bit weirder since it will now try to consolidate more data to the disk cache and apparently this is a v1 implementation with several quirks and bugs that lead to inconsistent behavior. It surely will be refined and fixed in future updates.

 

Mylenium


Ok, I'll keep an eye on it. I found that there's an option to turn off the speculative preview:

Composition/Preview/Cache Frames When Idle

2 replies

Mylenium
Legend
February 24, 2022

Turn off the multiframe rendering and speculative caching in the preferences.

 

Mylenium

Flaviator
FlaviatorAuthor
Inspiring
February 24, 2022

Thank you Mylenium, that's the thing I was looking for. I left the multriframe rendering checked, as it was not the problem (but still interesting to understand how it works).

However I made some changes on the speculative caching. You can only tweak the delay from 2 sec to 15 sec. So I finally put Cache Frames to "Around Current Time" and Cache Range to "Work Area". This way, the speculative only previsualize the small area I defined at the begening of my composition and doesn't calculate anything else.

 

It is pretty weird that you cannot deactivate the speculative preview (?)

Mylenium
Legend
February 24, 2022

I think you're mistaking AE's regular memory caching for the spec preview. AE has always done this even before CC 2022 and would try to cache everything to RAM after the current time indicator. It's only gotten a bit weirder since it will now try to consolidate more data to the disk cache and apparently this is a v1 implementation with several quirks and bugs that lead to inconsistent behavior. It surely will be refined and fixed in future updates.

 

Mylenium

Community Expert
February 24, 2022

Lo que está sucediendo es normal debido a que la caché de disco es justamente para eso, para que se queden las previsualizaciones listas para que la próxima vez que abras tu proyecto no tengas que volver a tomarte el tiempo de hacer la prevista en el timeline. Gestionar la caché de disco no es un asunto que el usuario deba hacer de manera manual, a menos que por liberación de espacio o algún error se deba borrar o asignar menos espacio. Cuando se termina la cantidad asignada de manera automática se regenera la caché según el proyecto en el que estés trabajando. La pregunta: la gestión que hace Ae te afecta en el desempeño de tu sistema o proyecto? Ten en cuenta que 20GB es poco para caché de disco, sin embargo a pesar de que sí puedes hacerlo, no es necesario que lo purgues con frecuencia. 

Byron.
Flaviator
FlaviatorAuthor
Inspiring
February 24, 2022

Thank you Byron, I used to allocate 50Go to the cach disk, that was ok and I just needed to purge it from time to time.

I was trying not to forget to purge it or it could cause a crash. But that was fine.