-
-
Notifications
You must be signed in to change notification settings - Fork 19
Story memory usage #102
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
Comments
A story should be similar in size to the For the global and, the runner is currently no function to get the actually used memory. There is an indirect metric included in config.h. Where you can limit the number of elements per type of list used throughout the code. Why are exactly you interested in the memory footprint? |
This metric would be useful for gathering statistics on how much resources are consumed by |
I see the point, but a precise memory usage is system-dependent, and I do not know how to implement it efficiently. For a precise measurement, I use valgrind's massif for profiling A collection of the current size of all dynamic values in the |
In #110 is a |
Fixes #107 + implement dynamic growing string_table + implement dynamic growing output Fixes #102 + implement state function to get current usage and capacity of structured limits defined in config.h Fixes #111 + store container offsets relative to story instruction start Fixes #104 + Check and adopt for compilation with C++17
Hi. Is there any way to find out the memory usage of 'ink::runtime::story'?
The text was updated successfully, but these errors were encountered: