blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

bug: memory leak

Open 0kenx opened this issue 1 year ago • 2 comments

When compiling a large project using npx blueprint build --all, the following error occurs:

(node:3805163) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)

The error does not happen if each component is built separately.

0kenx avatar Feb 04 '24 10:02 0kenx

@0kenx, hello! Thank you for the submitting issue.

Could you help get a more accurate and re-playable example at the moment? (project, contracts which will be display this error)

reveloper avatar Jun 12 '24 11:06 reveloper

Just use a repo with 40 randomly generated Tact contracts, and let me know if you run into this issue when you compile all of them at once.

0kenx avatar Jun 13 '24 00:06 0kenx

I'v generated 300 contract in the following repo but still issue is not reproducible https://github.com/Alejandbel/test-bug-build-all could you please try running blueprint build --all here? Or provide repository with reproducible example

Alejandbel avatar May 16 '25 11:05 Alejandbel

@0kenx please, could you test again?

Alejandbel avatar May 19 '25 15:05 Alejandbel

this bug is node related and does not come from blueprint, closing

0kenx avatar May 20 '25 18:05 0kenx