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

Excessive memory usage? #21

Closed
davidworkman9 opened this issue Jul 29, 2014 · 1 comment
Closed

Excessive memory usage? #21

davidworkman9 opened this issue Jul 29, 2014 · 1 comment

Comments

@davidworkman9
Copy link
Contributor

We've recently began to shard out our text extraction processes and I noticed a significant spike in memory usage. Looks like it's coming from this module. Running the following:

var textract = require('textract');
setInterval(function () {
  console.error(process.memoryUsage());
}, 1000);

Results in around 135 MB of memory being used. Comment out the first line and that shoots down to around 10 MB.

Any ideas what's causing this?

@davidworkman9
Copy link
Contributor Author

I've found the culprit... J (xls.js) module jumps memory usage from 14 MB to 129 MB.

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