Skip to content
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

Add a howto for dealing with out-of-memory errors #69

Open
svaarala opened this issue Dec 6, 2015 · 0 comments
Open

Add a howto for dealing with out-of-memory errors #69

svaarala opened this issue Dec 6, 2015 · 0 comments

Comments

@svaarala
Copy link
Owner

svaarala commented Dec 6, 2015

There are special issues with out of memory such as how to safely deal with error objects on the value stack. Also cover how the value stack is preallocated to a certain size so that it's safe to e.g. push plain values, read property values which map to concrete property slots (but it's not safe to read virtual properties), etc.

Useful discussion in: svaarala/duktape#476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant