Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Troubleshooting • Re: pi 3 Buster... Cannot allocate memory ?

$
0
0
It mentions rc.local, so have you added anything to /etc/rc.local that might be causing this?

rc.local should only run once at boot time, and not show repeated messages. Have you got something else that is called rc.local?

It should also exit at the first error it encounters. Unless the shebang has been changed from the default.

@OP:

Just because your code doesn't explicitly use sockets or threads doesn't mean your program doesn't. Any python module you're importing might be doing so.

Post your rc.local (it might be anything that's in there not just your code) and your python code.

Beyond that, usual debugging advice applies: disable everything in rc.local then put them back one at a time until you find the cause.

Statistics: Posted by thagrol — Sun May 18, 2025 11:15 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles