-
Notifications
You must be signed in to change notification settings - Fork 14
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
tsc on tsconfig/all exceeds the default memory limit #1431
Comments
zepumph
added a commit
to phetsims/perennial
that referenced
this issue
Apr 9, 2024
Signed-off-by: Michael Kauzmann <michael.kauzmann@colorado.edu>
zepumph
added a commit
that referenced
this issue
Apr 9, 2024
Signed-off-by: Michael Kauzmann <michael.kauzmann@colorado.edu>
samreid
added a commit
to phetsims/perennial
that referenced
this issue
Apr 9, 2024
samreid
added a commit
that referenced
this issue
Apr 9, 2024
samreid
added a commit
to phetsims/aqua
that referenced
this issue
Apr 10, 2024
I thought this was handled? However I really am not attuned to all the details of this issue. Bringing back to dev meeting to discuss. |
Discussed at dev meeting. We feel this can be closed since this error is now gone. Remaining work in: #1356 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to #1415. Today @zepumph @jonathanolson and CT all reported heap memory errors while running tsc on tsconfig/all. For instance, CTQ reported:
@zepumph and I knew the memory overhead was near for #1415 but we were surprised to see it already happening in
tsc
. Though we acknowledge there is variability from run to run (even though there is no caching or incrementaling).In testing with @jonathanolson we saw that we might buy some time by running tsc in a separate script. Having lint and other things running in the same script may lower the memory ceiling a bit. This worked for a script that @jonathanolson was using, but CTQ already runs it in an isolated script.
A short term workaround is to boost the Node heap space, but this is tricky since it must be done on every developer machine (including open source developers), every server and service, such as bayes and the production servers, etc. We do not currently have one place where we factor out a call to
tsc
so we don't have a place where we can uniformly boost that memory. Different developers do this different ways at the moment.@zepumph and I believe the best solution to this will be to move to incremental type checking which is described in #1424 which is blocked by phetsims/tasks#1132.
Assigning to @marlitas for consideration in scheduling.
The text was updated successfully, but these errors were encountered: