banner



How To Clear Cache In After Effects

  1. After Effects User Guide
  2. Beta releases
    1. Beta Program Overview
    2. After Effects Beta Home
  3. Getting started
    1. Get started with After Effects
    2. What's new in After Effects
    3. Release Notes | After Effects
    4. After Effects system requirements
    5. Keyboard shortcuts in After Effects
    6. Supported File formats | After Effects
    7. Hardware recommendations
    8. Planning and setup
    9. Setup and installation
  4. Workspaces
    1. General user interface items
    2. Get to know After Effects interface
    3. Workflows
    4. Workspaces, panels, and viewers
  5. Projects and compositions
    1. Projects
    2. Composition basics
    3. Precomposing, nesting, and pre-rendering
    4. View detailed performance information with the Composition Profiler
    5. CINEMA 4D Composition Renderer
  6. Importing footage
    1. Preparing and importing still images
    2. Importing from After Effects and Adobe Premiere Pro
    3. Importing and interpreting video and audio
    4. Preparing and importing 3D image files
    5. Importing and interpreting footage items
    6. Working with footage items
    7. XMP metadata
  7. Working with text and graphics
    1. Text
      1. Formatting characters and the Character panel
      2. Text effects
      3. Creating and editing text layers
      4. Formatting paragraphs and the Paragraph panel
      5. Extruding text and shape layers
      6. Animating text
      7. Examples and resources for text animation
      8. Live Text Templates
    2. Motion Graphics
      1. Work with Motion Graphics templates in After Effects
      2. Use expressions to create drop-down lists in Motion Graphics templates
      3. Work with Essential Properties to create Motion Graphics templates
      4. Replace images and videos in Motion Graphics templates and Essential Properties
  8. Drawing, painting, and paths
    1. Overview of shape layers, paths, and vector graphics
    2. Paint tools: Brush, Clone Stamp, and Eraser
    3. How to taper shape strokes
    4. Shape attributes, paint operations, and path operations for shape layers
    5. Use Offset Paths shape effect to alter shapes
    6. Creating shapes
    7. Create masks
    8. Remove objects from your videos with the Content-Aware Fill panel
    9. Roto Brush and Refine Matte
  9. Working with layers
    1. Selecting and arranging layers
    2. Blending modes and layer styles
    3. 3D layers
    4. Layer properties
    5. Creating layers
    6. Managing layers
    7. Layer markers and composition markers
    8. Cameras, lights, and points of interest
  10. Animation, keyframing, motion tracking, and keying
    1. Animation
      1. Animation basics
      2. Animating with Puppet tools
      3. Managing and animating shape paths and masks
      4. Animating Sketch and Capture shapes using After Effects
      5. Assorted animation tools
      6. Work with Data-driven animation
    2. Keyframe
      1. Keyframe interpolation
      2. Setting, selecting, and deleting keyframes
      3. Editing, moving, and copying keyframes
    3. Motion tracking
      1. Tracking and stabilizing motion
      2. Face Tracking
      3. Mask Tracking
      4. Mask Reference
      5. Speed
      6. Time-stretching and time-remapping
      7. Timecode and time display units
    4. Keying
      1. Keying
      2. Keying effects
  11. Transparency and compositing
    1. Compositing and transparency overview and resources
    2. Alpha channels, masks, and mattes
  12. Adjusting color
    1. Color basics
    2. Use the Adobe Color Themes extension
    3. Color management
    4. Color Correction effects
  13. Effects and animation presets
    1. Effects and animation presets overview
    2. Effect list
    3. Simulation effects
    4. Stylize effects
    5. Audio effects
    6. Distort effects
    7. Perspective effects
    8. Channel effects
    9. Generate effects
    10. Transition effects
    11. The Rolling Shutter Repair effect
    12. Blur and Sharpen effects
    13. 3D Channel effects
    14. Utility effects
    15. Matte effects
    16. Noise and Grain effects
    17. Detail-preserving Upscale effect
    18. Obsolete effects
  14. Expressions and automation
    1. Expression
      1. Expression basics
      2. Understanding the expression language
      3. Using expression controls
      4. Syntax differences between the JavaScript and Legacy ExtendScript expression engines
      5. Editing expressions
      6. Expression errors
      7. Using the Expressions editor
      8. Use expressions to edit and access text properties
      9. Expression language reference
      10. Expression examples
    2. Automation
      1. Automation
      2. Scripts
  15. Immersive video, VR, and 3D
    1. Construct VR environments in After Effects
    2. Apply immersive video effects
    3. Compositing tools for VR/360 videos
    4. Tracking 3D camera movement
    5. Work in 3D Design Space
    6. Preview changes to 3D designs real time with the Real-Time Engine
    7. Add responsive design to your graphics
  16. Views and previews
    1. Previewing
    2. Video preview with Mercury Transmit
    3. Modifying and using views
  17. Rendering and exporting
    1. Basics of rendering and exporting
    2. Export an After Effects project as an Adobe Premiere Pro project
    3. Converting movies
    4. Multi-frame rendering
    5. Automated rendering and network rendering
    6. Rendering and exporting still images and still-image sequences
    7. Using the GoPro CineForm codec in After Effects
  18. Working with other applications
    1. Dynamic Link and After Effects
    2. Working with After Effects and other applications
    3. Sync Settings in After Effects
    4. Collaborate with Team Projects
    5. Share and manage changes with Team Project collaborators
    6. Creative Cloud Libraries in After Effects
    7. Plug-ins
    8. CINEMA 4D and Cineware
  19. Memory, storage, performance
    1. Memory and storage
    2. Improve performance
    3. Preferences
    4. GPU and GPU driver requirements for After Effects

Memory (RAM) usage in 64-bit After Effects

Memory preferences

Set memory preferences by choosing Edit > Preferences > Memory(Windows) or After Effects > Preferences > Memory (Mac OS).

As you modify settings in the Memory dialog box, After Effects dynamically updates helpful text in the dialog box that reports how it will allocate and use memory and CPUs.

The RAM Reserved For Other Applications preference is relevant whether or not Render Multiple Frames Simultaneously is selected.

RAM Reserved For Other Applications

Increase this value to leave more RAM available for the operating system and for applications other than After Effects and the application with which it shares a memory pool. If you know that you will be using a specific application along with After Effects, check its system requirements and set this value to at least the minimum amount of RAM required for that application. Because performance is best when adequate memory is left for the operating system, you can't set this value below a minimum baseline value.

After Effects shares a memory pool with Adobe CC applications. This is indicated in the Memory preferences panel by the icons for each of these applications at the top of the panel. The icons are dimmed for the applications that are not running.

A memory balancer prevents swapping of RAM to disk by dynamically managing the memory allocated to each of the applications. Each application registers with the memory balancer with some basic information: minimum memory requirements, maximum memory able to be used, current memory in use, and a priority. The priority has three settings: low, normal, and highest. Highest is currently reserved for After Effects and Premiere Pro, when it is the active application. Normal is for After Effects in the background or Adobe Media Encoder in the foreground. Low is for background servers of Premiere Pro or Adobe Media Encoder in the background.

An example of a practical result of the shared memory pool is that starting Premiere Pro will decrease the amount of RAM available to After Effects for previews; quitting Premiere Pro will immediately free RAM for After Effects and extend the possible duration of previews.

Memory dialog box

The Memory Details dialog box contains additional information about installed RAM and current and allowed RAM usage. It also includes a multicolumn table listing processes related to the applications. The table includes information about each process, such as ID, Application Name, Minimum Needed Memory, Maximum Usable Memory, Maximum Allowed Memory, Current Memory, and Current Priority.

To open the dialog box, choose Edit > Preferences > Memory (Windows) or After Effects > Preferences > Memory (Mac OS), and click the Details button at the bottom of the preferences dialog box.

You can copy the information to the clipboard with the Copy button.

Memory (RAM) requirements for rendering

Memory requirements for rendering of a frame (either for previews or for final output) increase with the memory requirement of the most memory-intensive layer in the composition.

After Effects renders each frame of a composition one layer at a time. For this reason, the memory requirement of each individual layer is more relevant than the duration of the composition or the number of layers in the composition when determining whether a given frame can be rendered with the available memory. The memory requirement for a composition is equivalent to the memory requirement for the most memory-intensive single layer in the composition.

The memory requirements of a layer increase under several circumstances, including the following:

  • Increasing the project's color bit depth

  • Increasing the composition resolution

  • Using a larger source image

  • Enabling color management

  • Adding a mask

  • Adding per-character 3D properties

  • Precomposing without collapsing transformations

  • Using certain blending modes, layer styles, or effects, especially those involving multiple layers

  • Applying certain output options, such as 3:2 pulldown, cropping, and resizing

  • Adding shadows or depth-of-field effects when using 3D layers

After Effects requires a contiguous block of memory to store each frame; it cannot store a frame in pieces in fragmented memory. For information about how much RAM is required to store an uncompressed frame, see Storage requirements for output files.

Purging memory (RAM)

Occasionally, After Effects may display an alert message indicating that it requires more memory to display or render a composition. If you receive an out-of-memory alert, free memory or reduce the memory requirements of the most memory-intensive layers, and then try again.

You can free memory immediately with commands from the Edit > Purge menu:

  • All Memory
  • Image Cache Memory
  • All Memory & Disk Cache
  • Undo
  • Snapshot

Purging memory is faster for large projects. Purging memory do not synchronize the project database; If you want force synchronization of the project database, press the Option (Mac OS) or Alt (Windows) key and choose Edit >Purge > All Memory. You can do this if you see that the Composition panel fails to update correctly and the Purge> All Memory or All Memory & Disk Cache commands do not help.

Troubleshooting memory issues

Error: "Unable to allocate enough memory to render the current frame...."

Either decrease the memory requirements for the rendering of this frame, or install more RAM.

Error: "Unable to allocate [n] MB of memory...."

Either decrease the memory requirements for the rendering of this frame, or install more RAM.

Error: "Image buffers of size [width]x[height] @ [depth] bpc ([n] GB) exceed internal limits..."

Decrease the memory requirements for the rendering of this frame.

The maximum amount of memory that one frame can occupy is 2 GB.

Error: "Memory allocation of [n] GB exceeds internal limits..."

Decrease the memory requirements for the rendering of this frame.

The maximum size for any single memory allocation is 2 GB.

Storage requirements for output files

Use the following formula to determine the number of megabytes required to store one uncompressed frame at full resolution:

(height in pixels) x (width in pixels) x (number of bits per channel) / 2,097,152

The value 2,097,152 is a conversion factor that accounts for the number of bytes per megabyte (220), the number of bits per byte (8), and the number of channels per pixel (4).

Some example frame sizes and memory requirements, in megabytes (MB) per frame:

  • DV NTSC (720x480) frame in an 8-bpc project: 1.3 MB

  • D1/DV PAL (720x576) frame in an 8-bpc project: 1.6 MB

  • HDTV (1920x1080) frame in a 16-bpc project: 16 MB

  • 4K digital cinema (4096x2304) frame in a 32-bpc project: 144 MB

Because video is typically compressed during encoding when you render to final output, you can't just multiply the amount of memory required for a single frame by the frame rate and composition duration to determine the amount of disk space required to store your final output movie. However, such a calculation can give you a rough idea of the maximum storage space you may need. For example, one second (approximately 30 frames) of uncompressed standard-definition 8-bpc video requires approximately 40 MB. A feature-length movie at that data rate would require more than 200 GB to store. Even with DV compression, which reduces file size to 3.6 MB per second of video, this storage requirement translates to more than 20 GB for a typical feature-length movie.

It is not unusual for a feature-film project—with its higher color bit depth, greater frame size, and much lower compression ratios—to require terabytes of storage for footage and rendered output movies.

As you work on a composition, After Effects temporarily stores some rendered frames and source images in RAM, so that previewing and editing can occur more quickly. After Effects does not cache frames that require little time to render. Frames remain uncompressed in the image cache.

After Effects also caches at the footage and layer levels for faster previews; layers that have been modified are rendered during the preview, and unmodified layers are composited from the cache.

When the RAM cache is full, any new frame added to the RAM cache replaces a frame cached earlier. When After Effects renders frames for previews, it stops adding frames to the image cache when the cache is full and begins playing only the frames that could fit in the RAM cache.

Green bars in the time ruler of the Timeline, Layer and Footage panels mark frames that are cached to RAM. Blue bars in the Timeline panel mark frames that are cached to disk.

Layer Cache Indicators

Layer cache indicators allow you to visualize cached frames on a per-layer basis. This is helpful when trying to determine which layers are cached in a composition.

Enable the Layer Cache Indicators option by pressing Ctrl (Windows) or Command (Mac), and then choose Show Cache Indicators in the Timeline panel menu. The Show Cache Indicators option must be enabled in the menu to see the indicators.

Showing the cache indicators decreases performance slightly.

The RAM cache is automatically purged when you quit After Effects.

You can choose to purge the RAM cache, or the RAM cache and the disk cache from the Edit > Purge menu.

Choose Edit > Purge > All Memory & Disk Cache to purge the contents of all RAM caches (like the existing All Memory command) and the contents of the disk cache (like the existing Empty Disk Cache button in the Media & Disk Cache preferences).

After Effects purges memory faster for large projects. Purging memory do not synchronize the project database. If you want force synchronization of the project database, press the Option (Mac OS) or Alt (Windows) key and choose Edit >Purge > All Memory. You can do this if you see that the Composition panel fails to update correctly and the Purge> All Memory or All Memory & Disk Cache commands do not help.

Purging the disk cache for one version of After Effects doesn't purge the cache for other versions. For example, purging the disk cache from After Effects CC won't affect the disk cache for After Effects CS6.

The global performance cache

The global performance cache consists of the following:

Global RAM cache: When you modify a composition, frames in the RAM cache are not automatically erased and are reused if you undo the change or restore the previous state of the composition. The oldest frames in the RAM cache are erased when the RAM cache is full and After Effects needs to cache new frames.
Persistent disk cache: Frames cached to disk are still available, even after closing After Effects.

For more information about the global performance cache, see the blog post entitled, "GPU (CUDA, OpenGL) features in After Effects" on the After Effects Team blog.

Video: Global performance cache

In this video by Brian Maffitt and Total Training, see how the features of the global performance cache can save time when compositing.

The disk cache is not used for previews. It is only used for previews without real time playback of cached frames and audio. (See Previewing.)

Disk Cache is enabled by default. For disk cache preferences, and to enable, or disable disk caching:

  1. Choose Edit > Preferences > Media & Disk Cache (Windows) or After Effects > Preferences > Media & Disk Cache (Mac OS), and select, or deselect Enable Disk Cache.

Disk cache preferences allow you to select a folder to contain your cache.

  1. Click the Choose Folder button, and then click OK (Windows) or Choose (Mac OS).

  1. Click the Empty Disk Cache button or select the Purge All Memory and Disk Cache option from the Edit menu.

Even when disk caching is enabled, each frame must be able to fit into a contiguous block of RAM. Enabling the disk cache doesn't help with limitations regarding inadequate RAM to hold or render a single frame of your composition.

For best performance with disk caching, select a folder on a different physical hard disk than your source footage. It is best if the folder is on a hard disk that uses a different drive controller than the disk that contains your source footage. A fast hard drive or SSD with as much space allocated as possible is recommended for the disk cache folder. The disk cache folder can't be the root folder of the hard disk.

As with the RAM cache, After Effects only uses the disk cache to store a frame if it's faster to retrieve a frame from the cache than to rerender the frame.

The Maximum Disk Cache Size setting specifies the number of gigabytes of hard disk space to use. The default disk cache size is set to 10% of the volume's total size, up to 100 GB.

The application checks to make sure that you have 10 GB free above what is set in Preferences > Media & Disk Cache. After Effects warns you if there is not enough room for the disk cache.

Global RAM cache

Global RAM cache offers these advantages:

  • Cached frames are restored after an undo/redo.
  • Cached frames are restored when a composition or layer is returned to a previous state, such as turning a layer's visibility off then back on.
  • Reusable frames are recognized anywhere on the timeline (e.g., when using loop expressions, time remapping, or copy/paste of keyframes), not just adjacent frames.
  • Reusable frames are recognized on duplicated layers or duplicated compositions;
  • Cache is not automatically destroyed by a render queue rendering using anything other than Current Settings.

In this video by Learn by Video you'll see how the RAM and disk caches are used to save time, and how you can render compositions in the background so that you don't need to wait for a preview to be rendered before you can resume work.

Persistent disk cache

Once you save a project, frames in the disk cache are retained even after you close the project or quit After Effects. This protocol is called persistent disk cache.The disk cache is no longer emptied at the end of a session. With the persistent disk cache feature, frames stored in the disk cache is retained between sessions. This saves rendering time as you work on a project or other projects that use the same cached frames.

Upon opening a project, the disk cache is scanned looking for frames matching those in the project, and makes them available for use. The disk cache contains frames from all projects you've opened in the same or earlier sessions, so disk-cached frames from one project will be retrieved for reuse in other projects that need those same frames. As the cache is scanned, blue marks gradually fill in on your timeline.

Because previous versions of After Effects didn't store everything on disk needed for this feature, resave CS5.5 and earlier projects, to experience persistent caching.

Roto Brush frames are not persistently cached.

Video tutorial: How to Optimize After Effects for High Performance

Sr. Product Manager Steve Forde shares how to optimize After Effects for high performance.

When After Effects imports video and audio in some formats, it processes and caches versions of these items that it can readily access when generating previews. Imported audio files are each conformed to a new .cfa file, and MPEG files are indexed to a new .mpgindex file. The media cache greatly improves performance for previews, because the video and audio items are not reprocessed for each preview.

When you first import a file, you may experience a delay while the media is being processed and cached.

A database retains links to each of the cached media files. This media cache database is shared with Adobe Media Encoder, Premiere Pro, Encore, Soundbooth, so each of these applications can each read from and write to the same set of cached media files. If you change the location of the database from within any of these applications, the location is updated for the other applications, too. Each application can use its own cache folder, but the same database keeps track of them all.

  1. Choose Edit > Preferences > Media & Disk Cache (Windows) or After Effects > Preferences > Media & Disk Cache (Mac OS), and do one of the following:

    • Click one of the Choose Folder buttons to change the location of the media cache database or the media cache itself.
    • Click Clean Database & Cache to remove conformed and indexed files from the cache and to remove their entries from the database. This command only removes files associated with footage items for which the source file is no longer available.

    Before clicking the Clean Database & Cache button, make sure that any storage devices that contain your currently used source media are connected to your computer. If footage is determined to be missing because the storage device on which it is located is not connected, the associated files in the media cache will be removed. This removal results in the need to reconform or re-index the footage when you attempt to use the footage later.

Watch the following video for quick steps on how to delete the media cache files in After Effects.

Watch time: 26 sec.

Cleaning the database and cache with the Clean Database & Cache button does not remove files that are associated with footage items for which the source files are still available. To manually remove conformed files and index files, navigate to the media cache folder and delete the files. The location of the media cache folder is shown in the Conformed Media Cache preferences. If the path is truncated, click the Choose Folder button to show the path.

Adobe logo

How To Clear Cache In After Effects

Source: https://helpx.adobe.com/after-effects/using/memory-storage1.html#:~:text=Choose%20Edit%20%3E%20Purge%20%3E%20All%20Memory%20%26%20Disk%20Cache%20to%20purge,memory%20faster%20for%20large%20projects.

Posted by: bauersming1945.blogspot.com

0 Response to "How To Clear Cache In After Effects"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel