You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently we started to see a huge jump of memory utilization and our CI failing while building our project. it was under 4GB whenever we were building our project. but the recent scenario was exhausting all the memory that is available. My system has 16GB of RAM and it is exhausting all of it. upon further inspection I found that we have a few extra License.txt files for a few modules. so I tried experimenting with extractLicense: false, so the License.txt files of those modules still remains but there was no 3rdpartylicense.txt file but the memory leak was fixed. I suspect there is a memory leak while trying to extract the licenses.
🔬 Minimal Reproduction
Not available. The only thing I know is how to fix it is by turning off the license extraction extractLicense: false
We had this issue earlier also but we thought this is something related to our code so we reverted the one commit where it all started and somehow managed to get the build working. Also the build gives a Out of memory exception on Linux where as in windows it exhausts all the memory but ensures that the build happens, despite having the same amount of RAM.
The text was updated successfully, but these errors were encountered:
Hi @cray2015, several changes have been made to the license extraction since Angular CLI 8. Can you try to update to Angular CLI 10 and see if the problem persists?
From the above error it seems that you are not increasing the memory limit of the Node.Js process. Having 16Gb available in this case doesn't make any difference because the memory limit is that of 2GB. See: nodejs/node#25576 (comment)
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No
Description
A clear and concise description of the problem...Recently we started to see a huge jump of memory utilization and our CI failing while building our project. it was under 4GB whenever we were building our project. but the recent scenario was exhausting all the memory that is available. My system has 16GB of RAM and it is exhausting all of it. upon further inspection I found that we have a few extra License.txt files for a few modules. so I tried experimenting with
extractLicense: false
, so the License.txt files of those modules still remains but there was no 3rdpartylicense.txt file but the memory leak was fixed. I suspect there is a memory leak while trying to extract the licenses.🔬 Minimal Reproduction
Not available. The only thing I know is how to fix it is by turning off the license extraction
extractLicense: false
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
We had this issue earlier also but we thought this is something related to our code so we reverted the one commit where it all started and somehow managed to get the build working. Also the build gives a Out of memory exception on Linux where as in windows it exhausts all the memory but ensures that the build happens, despite having the same amount of RAM.
The text was updated successfully, but these errors were encountered: