I have been tracking my memory usage in Weewx for some years. I was seeing slow memory leak until 10 months ago. Since then VM total has bounced between 290 or 350 MB - it would start at 290 then after some time jump to 350 and stay there until reboot. For the last 5 months has been a flat 290MB.
I'd start looking at those step increments and see if they coincide with any particular events. On Wednesday, 21 September 2022 at 8:14:58 am UTC+10 joh...@kd2gyo.com wrote: > Vince - thank you. I've installed the memory util and it's working great. > Screenshot below. > > I'm running the absolute basic config I think (or at least I thought) - > basic skin (one of the default options) and only extension I think (or > additional driver) is the WeatherLinkLive. > > [image: image.png] > > > On Tue, Sep 20, 2022 at 12:47 PM vince <vince...@gmail.com> wrote: > >> On Tuesday, September 20, 2022 at 8:27:00 AM UTC-7 joh...@kd2gyo.com >> wrote: >> >>> Thanks Cameron - I see that now in the log, any pointers on how I could >>> try and find that mem leak? >>> >>> On Tue, Sep 20, 2022 at 9:33 AM 'Cameron D' via weewx-user < >>> weewx...@googlegroups.com> wrote: >>> >>>> looking at the last line of the log, weewx had been allocated VM >>>> totalling 21GB, RSS 14GB. Killing everything else is not going to make >>>> much difference. >>>> >>>> >> The only way is to step all the way back to square one and disable >> 'everything' you have enabled and then reenable them one-by-one until you >> can figure out the offending piece of the puzzle. Are you running a >> large number of skins and extensions and other add-ons perhaps and one is >> running amok ? You haven't mentioned what you actually have installed and >> enabled. >> >> People run weewx on systems with as low as 128 MB of RAM, so this one is >> highly unusual to say the least. >> >> If it helps any, I have a small extension that will save the weewx memory >> usage to a separate db and create a minimal skin+graphs of just that - see >> github (link) <https://github.com/vinceskahan/vds-weewx-v3-mem-extension> >> if you want to automate getting some data easily. >> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/yJNYSpx-ihI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> weewx-user+...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/0f0d9f38-151f-4e91-bd2f-12eac8869611n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/0f0d9f38-151f-4e91-bd2f-12eac8869611n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7416736b-0a56-4d34-a50c-3979941367a0n%40googlegroups.com.