-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
1
-
Iteration U (Jan 27 - Feb 10)
-
Not Needed
-
Developer Tools
Problem Statement/Rationale
What is going wrong? What action would you like the Engineering team to take?
We evaluate the last statement of a playground when returning a result. If that last statement is a declaration of a function, it leads to an unexpected out of memory error. We should investigate the cause and fix it.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
How could an engineer replicate the issue you’re reporting?
- Open a new playground
- Write: function a() {}
- Try to run it.
Expected Results
What do you expect to happen?
Successfully run and return i.e. undefined
Actual Results
What do you observe is happening?
An internal error has occurred. The playground services have been restored. This can occur when the playground runner runs out of memory.
h3. Additional Notes
Any additional information that may be useful to include.