Hello Team,
I am using Infragistics Ignite UI igniteui-angular-excel library for generating the excel. The application is building and working fine on my local machine but the build on Jenkins failing with heap out memory exception. I have updated the package.json to set --max_old_space_size=12192 in build step.
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Could you please advise as this is very frustrating?
Please note, I have used the latest version of excel library.
Thanks,
Rahul
Hello Andrew, I did disable source maps in angular.json file but unfortunately it didn't work. Please note the build is running on Jenkins. Could you please share a sample code with me? I'd appreciate.
Hello Rahul,
My team and I have done an initial review of this support case, and if the –max_old_space_size flag is not working, perhaps this issue could be with the source maps in the igniteui-angular-excel package. You can avoid using the source maps by following the steps to update the angular.json file of your application provided here: https://stackoverflow.com/questions/69617089/angular-12-library-source-maps-unavailable.
I hope this helps. Please let me know if you have any other questions or concerns on this matter.