Skip to content

Question about mem_stats #103

Closed
Closed
@seanshpark

Description

@seanshpark

Jerry build with -mem_stats shows heap usage information like below.

|-- Opcode: assignment (position 348) --
| Allocated heap bytes:  24076 -> 24076 (   +0, local     0, peak 52298)
|-- End of execution of opcode assignment (position 348) --

Question is, what does the second line numbers mean?
Current iotjs for nuttx has settings of heap size 60KB and at this point gets "out of memory error" and program terminates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions