-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Memory allocation error #113
Comments
@kierangraham do you have a minimal reproducible code that I can try? |
I'll try to find a minimum sample that triggers this and post it; until then here is some further info on the error:
|
@tuananh I’ll try to take a look. The “3 open handles” warning doesn’t seem to be helpful here, though – none of these handles should be refed, i.e. none of them should keep the process running by itself. |
Hm yeah, there’s nothing here that sticks out to me. A reproduction would definitely be helpful. Knowing the Node.js version may or may not also be relevant? |
@tuananh I've managed to put together a sample project where you can reproduce the error. You can find the repo here: https://github.com/kierangraham/camaro-memory-error Let me know if there's anything I can try to help out with! |
@kierangraham Thanks for the reproduction! I think the problem here is that the I’m not sure what the best way forward here is, tbh. /cc @jasnell |
@kierangraham i'm closing this as I honestly don't know what to do here either. |
Hey @tuananh ... My schedule is pretty crazy this week but I've got this issue open and a todo to take a look at it next week to see if something can be figured out. I'll need to take some time to go through your specific set up in detail. |
Does anyone know of any pointers to shut down the worker pool correctly? Even when not in watch mode I see errors that something has prevented Jest from shutting down correctly when using |
|
I can confirm that jest worked best with Piscina (and worker threads in general) by using nodejs v14+ and jest circus runner. |
Glad to hear it’s working for you
…On Wed, 25 Nov 2020 at 08:28 Eduardo de Moura Rodrigues < ***@***.***> wrote:
I can confirm that jest worked best with Piscina (and worker threads in
general) by using nodejs v14+.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#113 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEZETXVMFMMLATGINQ64MDSRRMUZANCNFSM4OBTFPQQ>
.
|
Hi @kierangraham, did you ever figure this out? Running into the same issue on Node 16x LTS. |
Hey, I did not. I haven’t worked on a project where Camaro was used
recently so I’m not sure about the current state at all unfortunately.
jermainemercado ***@***.***> schrieb am Do. 22. Dez. 2022 um
19:23:
… Hi @kierangraham <https://github.com/kierangraham>, did you ever figure
this out? Running into the same issue on Node 16x LTS.
—
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH4STOAS6HAV4W7RNMQNDWOSMDPANCNFSM4OBTFPQQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
When running Camaro using
jest --watch
, eventually a memory allocation error occurs after it runs for a few minutes.Here's the example output:
The text was updated successfully, but these errors were encountered: