You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This could be due to the way we restart instances in JXcore, or could be due to the test app itself. In any case, it should be investigated before we release the restartable instance feature.
When running the iOS test app, used memory keeps growing unbounded. In a regular run, it goes from ~40MB at the beginning to ~1.3GB at the end. With a debug build, it goes up to ~2.85GB, which leads to out-of-memory errors on 32-bit devices.
I wanted to verify if the leaks were due to some functionality exercised by the tests, so I modified the app to run an empty test in a loop 10k times. The results show that this is enough to cause the leak.
After 2k iterations:
Memory is never recovered until we go to out-of-memory. This means that it's not a lazy-gc issue, it's an actual leak.