Skip to content

[Advanced Casio Clock] Memory usage #2079

Open
@dapgo

Description

@dapgo

Affected hardware version

Bangle 1

Your firmware version

2v14

The bug

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

20220720_152704_1

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

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

Antyway, it issue 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"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions