- If you disable Belchertown and 'enable' your custom code that
generates the include file, does memory grow ?
- Yes. I just started at test run with WXFeedsMemoryTest.py
(attached here) and Belchertown enabled. The station website is at:
https://lockyer.ca/weather/OsoyoosLakeNorthEast and the mem graphs
are at: https://lockyer.ca/weather/OsoyoosLakeNorthEast/mem.
- You also haven't told us what hardware you're on. Is it a pi ? What
os ? What version ?
- From an earlier post:
- 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.
- Your log says you're running python3. Have you tried the same thing
on a python2 system ?
- No. I have no interest in python2. :^))
- Can you duplicate the problem using just the Simulator driver and your
addition so we can try to replicate it ?
- The run I just started (about 11:30 AM PST) is using the Simulator
(rather than WeatherFlow).
On Sunday, January 17, 2021 at 9:28:24 AM UTC-8 vince wrote:
> On Saturday, January 9, 2021 at 8:02:51 PM UTC-8 [email protected]
> wrote:
>
>> My experience is that when I recreate an include file for Belchertown on
>> each archive cycle, as an extension to Belchertown or as a service, memory
>> usage increases with each cycle and eventually errors start.
>>
>
> I continue to think you need to concentrate on what your code is doing and
> your os configuration.
>
> - If you disable Belchertown and 'enable' your custom code that
> generates the include file, does memory grow ?
> - You also haven't told us what hardware you're on. Is it a pi ?
> What os ? What version ?
> - Your log says you're running python3. Have you tried the same thing
> on a python2 system ?
> - Can you duplicate the problem using just the Simulator driver and
> your addition so we can try to replicate 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/910f9283-dd79-4122-b92e-14a11aa58a27n%40googlegroups.com.