Skip to content
This repository was archived by the owner on Sep 26, 2019. It is now read-only.
This repository was archived by the owner on Sep 26, 2019. It is now read-only.

Improve memory usage #36

Open
Open

Description

@jumpinjackie

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

Activity

  1. jumpinjackie commented on Feb 24, 2016

    @jumpinjackie
    OwnerAuthor

    Initial plan of attack:

    • Add memory debugging facilities (node-memwatch)
    • Profile run against ol3 source
    • 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.
    • Re-profile run against ol3 source
  2. jumpinjackie commented on Feb 25, 2016

    @jumpinjackie
    OwnerAuthor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions