We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03228c commit 4dcea9eCopy full SHA for 4dcea9e
packages/skia/cpp/api/recorder/JsiRecorder.h
@@ -316,7 +316,9 @@ class JsiRecorder : public JsiSkWrappingSharedPtrHostObject<Recorder> {
316
JSI_EXPORT_FUNC(JsiRecorder, play),
317
JSI_EXPORT_FUNC(JsiRecorder, applyUpdates))
318
319
- size_t getMemoryPressure() const override { return 16384; }
+ // This has no basis in reality but since since these are private long-lived
320
+ // objects, we think it is more than fine.
321
+ size_t getMemoryPressure() const override { return 10 * 1024 * 1024; }
322
323
static const jsi::HostFunctionType
324
createCtor(std::shared_ptr<RNSkPlatformContext> context) {
0 commit comments