Skip to content

Memory leak #23

Description

@hlherrera

if I have an express controller:

Controller.js

`model: string //path

postMethod(text) {
const textClassifier = new Fasttext(model); // here memory leak!
return textClassifier.predict(text);
}
`
Memory grows without limit on every request.
Screen Shot 2019-09-05 at 12 14 03 PM

Activity

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