Read the statement by Michael Teeuw here.
Pi 4 B 4GB
-
This is a sort of generic question. I have a Pi 4B w/ 4GB ram attached to large screen TV
When I am actively changing things via config.js, custom.css, terminal open, the Pi really bogs down to point of locking up. I can generally twiddle my fingers for a while and it will come back and I can do some work which will bog it down again.If I finish what I am doing, close open windows, reboot, reload MM it runs just fine,
I don’t see this on PC sized monitors at all.
Is this due to trying to drive big screen and edit scripts at same time and could I resolve by changing out Pi for 8GB model? -
@ankonaskiff17 I don’t see this on my 4gb pi4. are u starting mm w pm2?
my setup tries to register a watcher for config.js changing to restart mm… are u seeing mm stop and start?
I almost never edit ON pi, I use ssh
-
@sdetweil Using your setup routine. Answer yes to both questions in your setup.
Primary culprit is when I’m using Developer Tools. Right now with nothing running but mm,MMM-SystemStats
shows about 30% free RAM.
When I would have VS Code, terminal, Developer Tools running it would get down around 5% free RAM.
Not sure howMMM-WeatherChart
,MMM-SmartWebDisplay
andMMM-Jast
impact things since WeatherChart is using Chart.js , Jast has the scrolling ticker and SystemStats has a pretty quick update rate. -
-
@sdetweil That was way easier than sorting out CSS.
-
@sdetweil I may have accidentally stumbled on what is causing the Pi to slog down.
Increasing the swap helped but definitely didn’t cure.
In process of troubleshooting a module by using Dev Tools Console, I noticed a different module, and IMO the module CONTENT is generating something called aVuex Mutatation
. I don’t have a clue what that is about other than it appears tied to the National Weather Service link I am using inMMM-SmartWebDesign
.
I saw the line 304 onindex.html
so I pulled up MM’s index.html and it doesn’t even go that high.
I’ve heard of Chart.js and Moment.js butVue.js
is a new one for me. See attatched image. Any thoughts, suggestions…
-
@ankonaskiff17 Vue is a new programming model. and Vuex is a data persistence library
all the Vue stuff runs in the browser, so inside the web display… eats cpu cycles where it runs
-
@sdetweil Anything to be done for it? When I have just MM running all is well .
Just seems to be a problem when editing.
So that is coming from the origin point of link?
It is national radar from NWS and I don’t update it locally in config.js
I’ll swag this and guess it generates that Vuex stuff locally when the NWS updates the radar image remotely?