Skip to content

🎥 Make videos programmatically with React

Update compositor.ts

Jonny Burgerb82a996016f9
diff --git a/packages/renderer/src/compositor/compositor.ts b/packages/renderer/src/compositor/compositor.ts
index b5c024ce6a..89c63ab22d 100644
--- a/packages/renderer/src/compositor/compositor.ts
+++ b/packages/renderer/src/compositor/compositor.ts
@@ -37,8 +37,8 @@ export const getIdealMaximumFrameCacheItems = () => {
const max = Math.floor(freeMemory / (1024 * 1024 * 6));
// Never store more than 1000 frames
- // But 100 is needed even if it's going to swap
- return Math.max(100, Math.min(max, 1000));
+ // But 300 is needed even if it's going to swap
+ return Math.max(300, Math.min(max, 1000));
};
export const startLongRunningCompositor = (