MZ RPG Maker NWJS overloading CPU?

Hello all,

I have run into a strange issue while play testing my game.
Every time I go to play test my game it runs a batch of NWJS programs in the background (Found in my Task Manager). This is fine, as I am aware that this is important so my computer can run the application.
HOWEVER!
I have noticed that even after closing my Playtest, the NWJS continues to run in the background, and after opening and closing my playtests about 6-7 times my computer starts to lag and my CPU usage is up to 80%! I then have to go into task manager to End Task on all instances of NWJS to get my CPU usage back down to normal.

Is anyone else experiencing this issue, and if so, how do I go about fixing this??
I remember having that problem before frequently, but only after changing my nwjs version off of the base one for MV. Did you upgrade yours? I think it was on 49.1 that I saw it the most.

Check the system tray for an nwjs icon when it happens and check your options when you right click on it. i hadn't noticed the icon it till i started using 88.0, but I had the issue one time on 88.0, noticed it in the system tray, clicked something in the right click menu for it, and its been a couple months since its happened as opposed to like, 30% of the time i close a test

also

I've moved this thread to RPG Maker MZ Support. Thank you.

Do you have the developer console open at the time? There used to be a bug where the process would remain if you close the game with the console open, and the solution was to close the console first. You may have ended up getting that for some reason.
Do you have the developer console open at the time? There used to be a bug where the process would remain if you close the game with the console open, and the solution was to close the console first. You may have ended up getting that for some reason.
I do actually have the console open. When I get home I will take a look at that and report back.
Edit: having the consol open or not doesn't seem to impact this. What does seem to impact it is how frequent / quickly I open / close the test game. If I give it a few extra seconds between test plays, the issue doesn't happen.
I remember having that problem before frequently, but only after changing my nwjs version off of the base one for MV. Did you upgrade yours? I think it was on 49.1 that I saw it the most.

Check the system tray for an nwjs icon when it happens and check your options when you right click on it. i hadn't noticed the icon it till i started using 88.0, but I had the issue one time on 88.0, noticed it in the system tray, clicked something in the right click menu for it, and its been a couple months since its happened as opposed to like, 30% of the time i close a test

also Moved to: RPG Maker MZ Support
I am unsure how I can check what version I am using or even how to update the NW.js. How would I go about doing this?

Edit: I have found how to see what version of NW.JS I am running. I am running 48.4 currently. I am still unsure how to update it in MZ though.

Edit 2: I've figured out how to update it in MZ, and am running NW.js 94.0. It looks like the overloading issues has stopped!
I am unsure how I can check what version I am using or even how to update the NW.js. How would I go about doing this?

Edit: I have found how to see what version of NW.JS I am running. I am running 48.4 currently. I am still unsure how to update it in MZ though.

Edit 2: I've figured out how to update it in MZ, and am running NW.js 94.0. It looks like the overloading issues has stopped!
How did you update it on MZ? I would like to know the solution 🙂
How did you update it on MZ? I would like to know the solution 🙂
How did you update it on MZ? I would like to know the solution 🙂
If you follow the link that Robro33 provided, it will give you a solid tutorial. There are SOME differences though. Through some trial and error I found out that to update it properly you will need to make a backup of all the files in the mentioned folder, then delete ONLY the files are the same as what is found in the NW.js update folder you download before moving them over to the RPG Maker Folder. For some reason just dragging and dropping and replacing the files doesn't work.
If you follow the link that Robro33 provided, it will give you a solid tutorial. There are SOME differences though. Through some trial and error I found out that to update it properly you will need to make a backup of all the files in the mentioned folder, then delete ONLY the files are the same as what is found in the NW.js update folder you download before moving them over to the RPG Maker Folder. For some reason just dragging and dropping and replacing the files doesn't work.
Thank you for letting me know! :LZSproud:

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-nwjs-overloading-cpu.178973/