Our initial fix https://github.com/ember-fastboot/ember-cli-fastboot/pull/894 was done internally using patch-package and this solved our memory usage issue. The workaround https://github.com/ember-fastboot/ember-cli-fastboot/pull/895 we had merged in ending up causing an extremely bad CPU spike in production. Because we traded memory usage for cpu because now we constantly read from disk. We want to turn off source maps as we internally unwrap the source and handle this on error in a different system.
Our initial fix https://github.com/ember-fastboot/ember-cli-fastboot/pull/894 was done internally using patch-package and this solved our memory usage issue. The workaround https://github.com/ember-fastboot/ember-cli-fastboot/pull/895 we had merged in ending up causing an extremely bad CPU spike in production. Because we traded memory usage for cpu because now we constantly read from disk. We want to turn off source maps as we internally unwrap the source and handle this on error in a different system.