MacBook Pro with BigSur Non Responsive and Fan Running

I recently downloaded Wappler to begin learning to use it. As a I shift between tabs, Wappler doesn’t respond; the only way around it is to quit Wappler and reopen it. It happens every few minutes. Is anyone experiencing similar behavior? Thank you!

macOS Big Sur 11.0.1
MacBook Pro 16" 2019
Model Identifier: MacBookPro16,1
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.3 GHz
Number of Processors: 1
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache: 16 MB
Hyper-Threading Technology: Enabled
Memory: 32 GB
System Firmware Version: 1554.50.3.0.0 (iBridge: 18.16.12561.0.0,0)

It appears to be “nwjs Helper (Renderer)” that is spiking the CPU and maintaining it. I’ve reinstalled Wappler as from a previous thread a suggestion. I ran EtreCheck for Mac to look for any possible issues but no major issues were found. This is a brand new MacBook Pro. I do have Docker installed and running with multiple monitors. Screenshots of Memory and CPU usage is below.

Quit Wappler fully first - from the icon on top.

Then make sure now nwjs processes are running, if they are kill them. Then start Wappler again.

Hi George! Thank you for the quick reply. I followed your recommendation; within 30 seconds the high cpu behavior returned. See screenshot below.

What do you have open in Wappler any specific page?

I’m going through Ken’s course and following the Facebook Social Login API walkthrough from Teodore.

Doesn’t seem that any thing is wrong. Maybe just restart your MacBook to be sure nothing is running on the background.

A recording of the behavior is enclosed. You’ll see as I attempt to click the tabs on the left-pane it doesn’t respond. I’ve rebooted multiple times since yesterday. I’ll keep investigating…

Please restart Wappler with logging, reproduce the problem and attach the debug log. See:

Unfortunately, I’m unable to find the Chrome debug location or the menu option to enable logging.

Below is the sample from Activity Monitor of nwjs Helper.

Sampling process 586 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols…
Analysis of sampling nwjs Helper (Renderer) (pid 586) every 1 millisecond
Process: nwjs Helper (Renderer) [586]
Path: /Applications/Wappler.app/Contents/Frameworks/nwjs Framework.framework/Versions/85.0.4183.121/Helpers/nwjs Helper (Renderer).app/Contents/MacOS/nwjs Helper (Renderer)
Load Address: 0x107321000
Identifier: nwjs Helper (Renderer)
Version: ???
Code Type: X86-64
Platform: macOS
Parent Process: ??? [1]

Date/Time: 2020-12-13 12:02:42.699 -0500
Launch Time: 2020-12-13 11:11:42.483 -0500
OS Version: macOS 11.0.1 (20B29)
Report Version: 7
Analysis Tool: /usr/bin/sample

Physical footprint: 8.6G
Physical footprint (peak): 10.2G

Hi @techagentmo!

I am sorry to hear about this problem. Sometimes I have this issue as well, but as George was indicating, it usually is when I have a lot of things open in Wappler, which does not seem to be the case with you.

What you are looking for is this:

Screen Shot 2020-12-13 at 12.59.31 PM

Choose the Restart with Logging option and then after Wappler starts up, you’ll be able to find the log file in:

  • for Mac it is under:
    /Users/username/Library/Application Support/Wappler/chrome_debug.log
    or shorter: ~/Library/Application Support/Wappler/chrome_debug.log
    (You can choose in Finder / Go To Folder ~/Library/Application Support/Wappler first)

After you find the file, compress it by right clicking on the file and then you can drag and drop the file here in this topic.

3 Likes

Hi Scott!

Thank you for the reply. I wasn’t looking in the far-right corner. Good eye! The debug log is enclosed. It’s getting frustrated as I cannot work but for only a first few seconds. I tried lowering the CPU from 8 to 1 in the Docker Preferences per a support forum on Docker; no difference.

The debug file is enclosed.chrome_debug.log.zip (3.6 KB)

The only error I see in the log is something about git:

Error: Failed to authenticate SSH session: Invalid data in public and private key

Maybe your git is giving some troubles.

So check it out and maybe just to be sure - start a different project without git - see if you have problems and enable git later on if no problems.

I’ve deleted all my projects, reset my Wappler to default settings, and reinstalled Wappler. Same result. It just freezes and doesn’t respond. I’m happy to setup a screen-sharing session at your convenience or pay for support.

Thanks!

I’ve had the same problem with my Mac since Big Sur.

In my case, the machine’s memory (RAM) would drop after 30 minutes of working with a large page of coding and a lot of editing going on. I believe that it also would run short of drive space, which resulted in not having any room for dumping the RAM; additionally, it was trying to send a lot up to the cloud to make room… pretty soon resources would run low.

First I would get a memory alert from CleanMyMac, then window areas of Wappler would start shutting down various panes and turn them red (see images).

Screen Shot 2020-12-06 at 12.45.52 PM

I found that if I shutdown nonessential items that were running in the background (those that are loaded on startup, and apps opened but not needed), after this restart Wappler, everything worked as it should without any further problems.

Techagentmo check and see if you have anything running in the background that can be eliminated.

I’m continuing to have issues with Wappler becoming non-responsive as I continue to learn and buildout the apps within the platform. I noticed that if you work locally 100% with no active database connections to a remote location or use Docker; it’s fine. At times; I get frustrated as I have to wait 20 - 30 seconds after each mouse click to progress. No other program is having an issue; dBeaver, mySQL Workbench, Chrome, Outlook, and Excel. I’ve attempted to only have Wappler opened and no other app; same thing.

Any other ideas? Thanks!

Are you sure you are not running anything else in the background? Like a virusscanner or other cleaner tools.

Those can cause such problems. Maybe try to start in safe mode see if it helps

Hi George!

I uninstalled Avira Virus Scanner and booted into SafeMode. Same result. I confirmed I’ve booted into Safe Mode.

I may end up backingup my Mac and reformatting it. It’s only 3 months old.

Do you think installing NodeJS prior to Wappler when I was using Visual Studio Code could cause any issue?

I may need to do the same. Although I have no fan running, I am getting a warning of low ram.

My MacBook Pro only has 16 GB, but that has been sufficient with all previous versions of Wappler. These freezes and notices were not until we crossed over to 3.5+ …

The Wappler app is not a hog on ram, however could the nwjs renderer and helper be a bit weighty? Please note that I am no computer memory architect expert. It’s just an observation.

1 Like