JIPipe has a project-wide cache for generated results. This cache can be accessed by algorithms to prevent repeating previous calculation steps.
Load data into the cache
To cache data, right click a node and click Update cache. This will execute a Quick run and store all results into the cache.
Accessing the cache
Cache items are assigned a unique identifier ( Snapshot) that is based on relevant algorithm parameters and the processing pipeline behind the data generation. You have multiple ways to manage and access the cache. First, in the top tool bar, there is a summary on how many items are currently cached. If items are stored in the cache, you have multiple options to clear the cache.
If you select an algorithm, you have access to its Cache browser that lists all Snapshots and all stored data, including a string representation, and annotations if available. By selecting a row in the data table below, you can Show the item’s data. The operation depends on the exact data type. ImageJ images for example are opened in ImageJ.
If an algorithm data slot has cached data, icons appear next to the slot. Hover the items with your mouse to show a summary. Clicking the items allows you to manage the cache or display the results in a full-window cache browser.
Managing the cache
The cache consumes large amounts of memory, depending on the pipeline. Use the button at the top (menu bar) to clean all cached data or remove cached items that are invalid (e.g., because the node parameters were changed).
You can also enable the “Reduce memory” mode (bottom) to store unused data on the hard drive, or explicitly move cached items to the hard disk.