[SOLVED] High CPU on bundle/main.js


#1

Hi,

When my app run with --production flag, everything is OK, the CPU is 4-5%. But with bundle/main.js one of the core 100%. Any experience with this?

Thx
P.


#2

Do you start your app using npm start command by a chance? There’s a known bug that causes high CPU usage when doing that. If that’s what you were doing, use meteor command to start your app instead.


#3

I start app with ‘node main.js’.


#4

The problem disappeared after making new build, without any change in source code. Strange…


#5

I’ve found the real problem was different node version.