azimuth icon indicating copy to clipboard operation
azimuth copied to clipboard

Reached heap limit Allocation failed - JavaScript heap out of memory

Open saivishwak opened this issue 3 years ago • 3 comments

Describe the bug Reached heap limit Allocation failed - JavaScript heap out of memory and the webapp doesn't start

To Reproduce Use clinc-data to start backend server and then after the server is ready (all tasks completed) run the yarn start command in webapp

Webapp started fine after several retries.

Some advices:

  • Please don't use customer data or custom paths.
  • Link to a gist would be appreciated.

Expected behavior Webapp to start without any memory allocation error without waiting for a long period of time and several webapp restarts

Vesion (please complete the following information):

  • OS: Windows (WSL 2)
  • Azimuth version: 2.3.0

Additional context Host: 16 GB DDR5 RAM

Screenshot 2022-09-24 151159

saivishwak avatar Sep 24 '22 09:09 saivishwak

@christyler3030 - any idea what is going on here? I've never experienced this.

gabegma avatar Sep 26 '22 14:09 gabegma

@saivishwak - what version of node are you using?

christyler3030 avatar Sep 26 '22 14:09 christyler3030

Hi @christyler3030,

Node version - 16.17.1

saivishwak avatar Oct 05 '22 09:10 saivishwak