-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Labels
feature requestRequested featureRequested featurememory consumptionAffects memory consumptionAffects memory consumption
Milestone
Description
IoT.js scripts are growing as development goes on and at the same time, it uses more Jerry heap space.
As of today, IoT.js built-in scripts consume about 64KB memory still more to go. If there is a way to save the heap memory it can give more to IoT.js application.
The idea is like V8's snap-shot;
- run Jerry with IoT.js built-in scripts
- make Jerry drop byte codes and Literals in to binary
- convert that binary to C source so that they exist in .text area (in ROM for embedded devices)
- build IoT.js
- when IoT.js is executed give snap-shot .text area memory to Jerry
Please add comments about how to make this possible and huddles to overcome.
Metadata
Metadata
Assignees
Labels
feature requestRequested featureRequested featurememory consumptionAffects memory consumptionAffects memory consumption