Hi Figma team,
I recently encountered a serious export-related bug that I also experienced several years ago.
When I try to export a single frame, Figma starts downloading image assets. However, instead of downloading only the assets used in the selected frame, it appears to download image assets from the entire Figma file.
In large files with many image elements, this causes the export process to take a very long time and leads to extremely high memory usage. Even with 48 GB of RAM, Figma can run out of memory and crash.
After the crash, the cached assets for all pages seem to be cleared. As a result, whenever I need to export a frame from any file again, Figma has to re-download all resources, which makes the issue repeat.
Could you please check whether the export logic is working as intended? It seems inefficient and problematic that Figma needs to download resources from the entire file just to export one specific frame.
Expected behavior:
Figma should only download the assets required for the selected frame being exported.
Actual behavior:
Figma appears to download image assets from the whole file, which can cause excessive memory usage, very long export times, cache loss after crashes, and repeated re-downloading of resources.
This is especially problematic for large design files with many pages and image-heavy frames.
