You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 26, 2019. It is now read-only.
We seem to be allocating objects with reckless abandon to the point where node errors with ELIFECYCLE (ie. out of memory) when we try to generate a d.ts for Cesium.js
Remove the use of various classes in tsoutput.ts. These classes are nothing more than intermediate objects about the original JSDoc doclet. While convenient, I strongly believe the bulk of the memory usage is in storing these objects all over the place. Replace with utility methods that do the same thing off of the original doclets.
Activity
jumpinjackie commentedon Feb 24, 2016
Initial plan of attack:
tsoutput.ts. These classes are nothing more than intermediate objects about the original JSDoc doclet. While convenient, I strongly believe the bulk of the memory usage is in storing these objects all over the place. Replace with utility methods that do the same thing off of the original doclets.jumpinjackie commentedon Feb 25, 2016
Downgrading severity. ELIFECYCLE is not due to OOM, but because JSDoc actually reported errors.
That's not to say we can't improve the memory usage, but it doesn't appear to be the cause at the moment