I´ve been trying to deploy my angular application to azure web service (web app service).
Steps:
- Use a build pipeline to generate an artifact (zip file) in Azure DevOps
- Use a release pipeline that uses the previous generated artifact to deploy to my app service
- An error occurs
Notes:
- The zip file has a total size of 150MB
- I have used 2 different tasks without any success (AzureWebApp@1 and AzureRmWebAppDeployment@4)
Can someone help me please ? Don't know if I'm doing something wrong or if there´s a known issue related to release pipelines
STACKTRACE
2023-08-13T05:07:14.5302848Z FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2023-08-13T05:07:14.7863924Z 1: 00007FF6FEF489AA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
2023-08-13T05:07:14.7866373Z 2: 00007FF6FEF234E6 node::MakeCallback+4534
2023-08-13T05:07:14.7869155Z 3: 00007FF6FEF23E60 node_module_register+2032
2023-08-13T05:07:14.7871100Z 4: 00007FF6FF242F4E v8::internal::FatalProcessOutOfMemory+846
2023-08-13T05:07:14.7872124Z 5: 00007FF6FF242E7F v8::internal::FatalProcessOutOfMemory+639
2023-08-13T05:07:14.7873097Z 6: 00007FF6FF429674 v8::internal::Heap::MaxHeapGrowingFactor+9620
2023-08-13T05:07:14.7874238Z 7: 00007FF6FF420656 v8::internal::ScavengeJob::operator=+24550
2023-08-13T05:07:14.7875507Z 8: 00007FF6FF41ECAC v8::internal::ScavengeJob::operator=+17980
2023-08-13T05:07:14.7876896Z 9: 00007FF6FF4279F7 v8::internal::Heap::MaxHeapGrowingFactor+2327
2023-08-13T05:07:14.7878550Z 10: 00007FF6FF427A76 v8::internal::Heap::MaxHeapGrowingFactor+2454
2023-08-13T05:07:14.7879539Z 11: 00007FF6FF551D17 v8::internal::Factory::NewFillerObject+55
2023-08-13T05:07:14.7881203Z 12: 00007FF6FF5CEF06 v8::internal::operator<<+73494
2023-08-13T05:07:14.7881902Z 13: 000000B013FDC6C1
2023-08-13T05:07:15.2310298Z ##[error]Exit code 134 returned from process: file name 'C:\externals\node10\bin\node.exe', arguments '"C:_work_tasks\AzureWebApp_18bde28a-8172-45cb-b204-5cef1393dbb1\1.225.2\azurermwebappdeployment.js"'.
2023-08-13T05:07:15.2336536Z ##[section]Finishing: Deploy Azure Web App Service
I have used 2 different tasks without any success (AzureWebApp@1 and AzureRmWebAppDeployment@4)