[SOLVED] High CPU on bundle/main.js

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.

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.

I start app with ‘node main.js’.

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

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