Jakub T. Jankiewicz
Jakub T. Jankiewicz
Thanks for the update. Unfortunately, I have no idea what causing the increase in memory, I also don't know how to find what is causing this. It's definitely not a...
Can you maybe test in a real browser to ensure it's not a bug in WebView? Chrome browsers have a memory profiler that can find the issue with memory.
Do you have this app somewhere online? If not can you publish? I will test it myself.
For future reference: [Troubleshooting a JavaScript memory leak](https://blog.shimin.io/troubleshoot-javascript-memoryleak/)
I don't use Windows. And on Browserstack I can only test websites in the browser. Do you have a working example that shows memory leaks in actual browser? If it...
@KiddoV were you able to find anything? Maybe something I can test?
Sure, I will check with the profiler maybe I will find something.
I can try to replace Map with WeakMap everywhere in the code. It has similar support. And when string will not be used it will be garbage collected.
I think that it fixed the issue, I started with ~700MB of memory for your application then it grow to about 900MB but after some amount of time, it decreased...
I would need to delete the API clear_cache since it will not be needed anymore.