标签: node.js memory-management
我使用Node.js(8.9)运行由webpack捆绑的应用程序。我发现以下屏幕截图显示内存抖动相对较高。
检查堆内存后,我发现内存中有vm.Script创建的许多源字符串,并且对其引用进行了修饰。
vm.Script
源代码:
参考对象:
我的问题是: