You might want to install my memory extension (link) <https://github.com/vinceskahan/vds-weewx-v3-mem-extension> to get some data and make some minimal graphs to go along with that.
I run on a 128MB system which runs for many many months without issues, FWIW, with Belchertown and several other skins and uploaders enabled. My experience is that it will likely grow 'slightly' but level off after a while. You certainly shouldn't see it run you out of memory quickly. Do you have swap enabled on your pi ? Have you adjusted your memory split to try to get more RAM for compute ? On Thursday, November 25, 2021 at 2:06:31 PM UTC-8 Clyde wrote: > Thanks, that was helpful - I had been looking in /var/log/messages. The > syslog does contain useful information: > > Nov 23 07:32:10 weather kernel: [4443467.475752] Out of memory: Killed > process 25057 (python3) total-vm:357356kB, anon-rss:255512kB, file-rss:0kB, > shmem-rss:0kB, UID:0 pgtables:324kB oom_score_adj:0 > > So at that time it was using around 255MB resident memory. Checking now > (weewx has been running for a day or two) and it's 120MB rss. After a > restart and waiting for an update round, it's 44MB resident and 100MB > virtual (vs the 357MB virtual at time of OOM.) > > So it looks like a memory leak to me. A daily restart would probably work > around it, but before upgrading to 4.5.1 and Belchertown I had no such > issues (was running 3.9.2 for a looong time.) > > It's running on a Pi Zero with 0.5GB RAM. > > > > On Friday, 26 November 2021 at 8:14:39 am UTC+11 [email protected] wrote: > >> Not much information here. I know you think there is nothing in the log, >> but humor us, include it anyway. Please see *Help! Posting to weewx user* >> <https://github.com/weewx/weewx/wiki/Help!-Posting-to-weewx-user>. >> >> The log /var/log/syslog is preferred. >> >> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ef9d66ac-ce38-4561-a2f6-da2b59b7bad8n%40googlegroups.com.
