Comments (5)
It has nothing to do with a leak in the ts-loader. The issue comes from NodeJS 8 where they introduced really low memory cap 1.4GB per NodeJS process. The only option to get around this limitation is to start gulp server
using the following command.
gulp serve --max-old-space-size=8192
This will set the appropriate Node flag to use a max of 8Gb or whatever value you pass in.
Pre-NodeJS 8 a process could use as many memory as they want or request.
from generator-teams.
I noticed this as well occasionally, but haven't found a good solution to it. I'll try get a closer look at it or if someone out there has some extra time over, feel free to chime in
from generator-teams.
I had a quick look at it using the Chrome dev tools to connect to the gulp node process and it looks like it might be a leak in ts-loader. I saw lots of duplicate strings containing what looked like generated Javascript, and the owner stack led back to ts-loader. If I have some more time later I can try digging deeper to determine where specifically this might be happening.
from generator-teams.
Closing this as resolved both since the build pipeline is rebuilt and the solution provided by @StfBauer above
from generator-teams.
I have same behavior on Node 10.15. Adding max space 8192 postpones the problem for some time.
from generator-teams.
Related Issues (20)
- Feature request: <short description>
- Feature request: Add documentation for adding SSO to a bot HOT 6
- Bug report: Configurable Tab has no context in Config page HOT 7
- NGROk Authentication Error HOT 15
- Error package lint when generating new teams app HOT 2
- Bug report: Cannot deploy to teams apps HOT 3
- Bug report: Unable to get access token from search messaging extension HOT 1
- Audio recorder bot HOT 3
- ngrok, error 6022, and Teams scaffoldingBug report: <short description> HOT 61
- Feature request: Update yo teams docs and check Learn documentation
- Bug report: gulp manifest doesn't generate manifest (or errors) HOT 2
- Tweak tab html
- Set-Value 3.0.3 dependency has CVE-2021-23440 HOT 1
- Bug report: yoteams-build-core dependency upon set-value 3.0.3 with CVE HOT 2
- TypeError in plugin "yoteams-build.core"Bug report: <short description> HOT 11
- Error when trying to run example HOT 1
- NgrokClientError in plugin "yoteams-build.core" failed to start tunnel Issue using ngrok subdomain HOT 2
- gulp manifest not working - missing package\*.zip file
- Bug report: TypeError in plugin "yoteams-build.core"
- Bug report: Missing error message error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-teams.