Why do you care? Especially if Weewx is the only thing running and you're
not running out of memory?

As a Weewx is a Python program, Python is in charge of memory allocation.
The advice I've seen is to not mess with Python's garbage collection unless
you are trying to fix a problem.


On Mon, Jul 8, 2024 at 9:48 AM Remy Lavabre <[email protected]> wrote:

> Good morning,
> I use a Raspberry Pi 5 8GB to run Weewx (version 5.x).
> This computer is only used for this task.
>
> I notice over time that the amount of memory used increases regularly
> without ever decreasing (see attached illustration). I tried the command 
> *"sudo
> sysctl -w vm.drop_caches=3"*.
> This command is effective since it indicates to me in response to the
> *"free"* command a return to the minimum state of the memory used.
> However, curiously, when the terminal is closed, the value of the memory
> used remains identical before the intervention in my WeeWX records and of
> course continues to increase!
> If I reset the raspberry, we find a used memory value of around 1GB (see
> illustration).
>
> [image: image.png]
>
> Is it normal to see this used memory constantly increasing when only using
> WeeWX?
> And how to empty these caches in order to find maximum free memory?
>
> THANKS...
>
> --
> 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/6f286345-df21-4c4f-9d40-83eff2a4fdfcn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/6f286345-df21-4c4f-9d40-83eff2a4fdfcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Peter Quinn
(415)794-2264

-- 
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/CAA1SM23hLWJb%3D%3D-iDOz%2B3fgRymu6NMHLToFXMk_gMaZn%3Dz2Www%40mail.gmail.com.

Reply via email to