Thanks for your assistance. I used setup.py to install WeeWX.
Yes, the HTML file is huge but it really is just a test case. I suspect a smaller feed that generates a smaller include file would cause a smaller leak that wouldn’t be so obvious. My actual extension has filters to select items of particular interest which would result in a smaller include file. Re: cron, I’m thinking of using it to restart WeeWX every day. I hadn’t thought about a separate job to do the RSS feed pulls because (in retrospect because of your good suggestion!) I’ve pretty much had “tunnel vision” working within WeeWX and Belchertown. At this time, I’d bet that the memory problem will still exist because about 2 hours ago I disabled Belchertown. The only change I made was setting ‘enable’ to false. Memory usage is flat! Regards, Garry Lockyer C: +1.250.689.0686 E: [email protected] > On Jan 17, 2021, at 13:11, vince <[email protected]> wrote: > > On Sunday, January 17, 2021 at 12:04:21 PM UTC-8 [email protected] wrote: >> RPi 4 - 8 GB >> Ubuntu Raspberry Pi OS 20.10 >> Python3 - 3.8.6 >> WeeWX 4.3 >> Belchertown 1.2 >> - Problem was first noticed on RPi Zero W with Raspberry Pi OS Lite. >> - Problem was reproduced on RPi 4 - 4 & 8 GB with Raspberry Pi OS >> Desktop. >> - My extension was reduced to minimum code needed to reproduce the >> problem - that code is attached. >> > > > Are you setup.py or dpkg for your installation ? Reason I'm asking is that > Tom previously wondered about a memory leak in other things like PIL/pillow. > That's also why I was wondering about python2 vs. python3, as that would > change the versions of underlying things. > > Let us know how it goes after you leave things alone for a few hours... > > That URL returns a 800K file which is kinda big. Do road conditions change > 'that' often ? Why not have a standalone cron job that does all the heavy > lifting and writes out the output HTML and see if that helps any ? That > would almost eliminate weewx from the equation wouldn't it ? > > > -- > 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/44242da6-de69-4f68-a0b2-963689c6f46an%40googlegroups.com. -- 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/265A1482-5171-4E6F-B8B2-2725C830B709%40gmail.com.
