Skip to content

Commit

Permalink
@remotion/renderer: Make native frame count twice towards memory
Browse files Browse the repository at this point in the history
As empirically tested on Lambda, those frames take more memory than their bare size
  • Loading branch information
JonnyBurger committed Jul 23, 2024
1 parent fd8d2de commit c766504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/rust/scalable_frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl ScalableFrame {
}
match self.native_frame {
None => {}
Some(ref frame) => size = frame.size,
Some(ref frame) => size = frame.size * 2,
}

size
Expand Down

0 comments on commit c766504

Please sign in to comment.