Skip to content
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

Reduce memory usage [banglejs1] #1

Open
dapgo opened this issue Jul 20, 2022 · 3 comments
Open

Reduce memory usage [banglejs1] #1

dapgo opened this issue Jul 20, 2022 · 3 comments

Comments

@dapgo
Copy link

dapgo commented Jul 20, 2022

For the usage on a bangle.js1watch it would be great to reduce the memory consumption, otherwise
It is almost unusable.

Maybe a lightweight fork?

20220720_152704_1

New interpreter error: LOW_MEMORY,MEMORY
Execution Interrupted during event processing.
Interpreter error: [
"LOW_MEMORY",
"MEMORY"
]

@dapgo
Copy link
Author

dapgo commented Jul 21, 2022

The app works fine until the screen goes off, then when screen has to be reactivated the low mem crash happens.

However, it happens also with not that low "free mem", specially compared with the used one.

process.memory();
={ free: 1707, usage: 877, total: 2584, history: 0,
gc: 0, gctime: 6.04248046875, blocksize: 13, stackEndAddress: 536925648, flash_start: 0,
flash_binary_end: 466460, flash_code_start: 1610612736, flash_length: 524288 }
Execution Interrupted during event processing.
Interpreter error: [
"LOW_MEMORY",
"MEMORY"

@dotgreg
Copy link
Owner

dotgreg commented Aug 3, 2022

Hello and thanks for that report, my watch unfortunately stopped working a week ago, so I will discontinue that project as I am not using it anymore and am unable to test it on a real device.

Thanks for your interest!

@dapgo
Copy link
Author

dapgo commented Aug 8, 2022

Sad to listen that your watch died. Have you ask about it? Probably it can be repaired at home or send back to factory.
It is a pity that after that much effort you can't use your own watch app. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants