-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/android: 7.0.1
@capacitor/ios: 7.0.1
Installed Dependencies:
@capacitor/android: not installed
@capacitor/cli: 7.0.1
@capacitor/core: 7.0.1
@capacitor/ios: 7.0.1
[success] iOS looking great! 👌
Platforms Affected
- iOS
- Android
- Web
Current Behavior
- Create a simple plugin with promise-returning function.
- Implement it on iOS side - make it return a 10mb string
- Call this function multiple times from JS
If you run this on device, the Safari inspector will report memory being allocated for every call and never garbage collected.
Expected Behavior
Memory should be garbage collected after each call.
Project Reproduction
https://github.com/vojto/dbtest
Additional Information
No response
jordankkk