These are chat archives for systemjs/systemjs

9th
Feb 2017
Benjamin Gruenbaum
@benjamingr
Feb 09 2017 09:45
Hey
We're seeing massive memory leaks when using SystemJS.constructor() and getting new instances.
cc @guybedford @Mosho1
Guy Bedford
@guybedford
Feb 09 2017 10:21
@benjamingr do you think you could share your scenario at systemjs/systemjs#1555 where this is being investigated?
Benjamin Gruenbaum
@benjamingr
Feb 09 2017 10:47
@guybedford for each server request we create a new SystemJS.constructor() and load our react app (for server side rendering), after taking a heap snapshot we see 170mb in strings in the memory. Our current workaround is to run it in a new child_process but that's terribly slow. Is there any way to force cleanup a System instance completely?
Marius Jakobsen
@MariusJakobsen_twitter
Feb 09 2017 11:52
Hi guys! :) Can this package be used to solve the following issue? http://stackoverflow.com/questions/42135258/typescript-component-cannot-find-es2015-module
Guy Bedford
@guybedford
Feb 09 2017 12:13
@benjamingr right, ok I'll be investigating these leaks in the next week - will post feedback to #1555.
Marius Jakobsen
@MariusJakobsen_twitter
Feb 09 2017 13:22

Hi guys! :) Can this package be used to solve the following issue? http://stackoverflow.com/questions/42135258/typescript-component-cannot-find-es2015-module

Anyone?