-
Couldn't load subscription status.
- Fork 88
chore: Enable orc and use malloc on mobile #18986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Jenkins BuildsClick to see older builds (16)
|
742b60c to
f00edce
Compare
b6a8b28 to
5b6e67e
Compare
5b6e67e to
a9ddf8a
Compare
|
Some stats on Android. The memory usage for a new account with Status community loaded (not a member) will decrease from ±800 to ±500. Another thing I've noticed is that if we leave it to Scudo to manage the Android memory it will more efficiently release memory when the app is not visible. |
|
@glitchminer is it possible to run the appium tests on this branch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a fan of consistent crashes!
What does the PR do
Enabling
orcmemory manager for nim and usemallocto allocate objects. The memory footprint for the app will decrease up to 300MB with no noticeable downsides in terms of performance.The only
downsideI've seen so far is that nim objects will be deallocated for real! Meaning that we'll need to be more careful with the lifetime management when sharing objects with QML. The advantage on the other hand is that in such a case a crash is imminent when QML tries to access the QObject.