-
Notifications
You must be signed in to change notification settings - Fork 16
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
Memory size is too large in TizenRT #44
Comments
I would like to have proper measurement tool for memory usage dynamically |
It seems only the allocated and peak allocated values are wrong. The rest of the allocations are 0 (I suppose this is printed at the end after everything is freed), and peak values are reasonable. As far as I remember we use a hack to inject external allocation data into JerryScript memstats. Perhaps the injected data is wrong, and that is what @LaszloLango is talking about. Furthermore it seems to me that the injected numbers are kind of random, because there are big, but not too big numbers (e.g. 2813060968) are there. |
@hs0225 does Tizen uses the allocator of nuttix or something else? Is it configured to use 4 or 2 byte sizes? |
Look at the memory size of test_buffer.js,
The memory size is abnormally large only in Artik053. We should measure it correctly.
The text was updated successfully, but these errors were encountered: