Bangle.js emulator running out of memory #4640
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2022-05-09 by @gfwilliams Ahh, yes, the issue is with the way Espruino doesn't handle As far as I know the Emulator has as much RAM as a real Bangle, so if you're hitting memory errors then it's probably a sign that your code just won't work on a real Bangle. It's rare that normal code has issues like this especially on Bangle.js 2. Have you seen http://www.espruino.com/Code+Style#other-suggestions Are you doing something like trying to transpile code? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2022-05-06 by Asynchronous
The emulator performs some strange variable reassignments to my code when I try to minify it.
When I change these variable definitions from
let keys;
tovar keys;
and re-run the code, I get low memory errors. This happens for both Bangle.js 1 and 2.How can I overcome these limitations? Is there a way that I can simulate more memory on the emulator?
Beta Was this translation helpful? Give feedback.
All reactions