Replies: 4 comments 3 replies
-
do you ever call gc.collect() in your program to force garbage collection to occur -- when you want it to, rather than when the system decides to do it? |
Beta Was this translation helpful? Give feedback.
-
Maybe the power-saving mode on the wireless chip which is activated by default is causing the server to be less responsive. For further information see section "3.6.3. Power-saving mode" of Connecting to the Internet with the raspberry Pi Pico W. |
Beta Was this translation helpful? Give feedback.
-
I can serve static html pages from Pico-W in < .002 sec., so something is not right. Here is the no-powersave code that I use to start the network.
|
Beta Was this translation helpful? Give feedback.
-
I'm assuming you're coding your own http server here and not using a library. If so, use Here's a link to the details of my original problem and its solution. #9695 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using a Pico W as a monitor with an http server running via asyncio.start_server.
Every so often http request goes from taking perhaps 200mS to taking 15+ seconds. It does eventually respond. I'm struggling to reproduce when connected to Thonny console which is a bit annoying.
Anybody seen this sort of behaviour and have any wisdom?
Beta Was this translation helpful? Give feedback.
All reactions