A 3D printer's 11-hour memory crash traced through its firmware
A YouTuber whose 3D printer ran out of memory roughly every 11 hours used Claude to read the firmware and a memory log to find the cause.
Credits
Earliest dated source:
The full story
An Elegoo Centauri Carbon 2 3D printer, with 111 MB of RAM and no swap, ran out of memory roughly every 11 hours. Its owner logged memory use, took a read-only snapshot of the printer's main program and had Claude read the disassembly.
The cause was about 1.5 KB the firmware kept for every request on its local socket, combined with a community add-on that asked for status every two seconds: 2,431 copies of the same request were sitting in memory, and use grew by about 3.1 MB an hour.
The fix was to stop sending that request. Memory then stayed flat, and the same boot was still running after 31 hours 49 minutes. The video also covers a second bug with the first few centimetres of a print.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- YouTube: I Used Claude to Reverse Engineer My 3D Printer s FirmwareVideo channel: NaruNaruPublished
The owner's video walking through the investigation, with the numbers in its description.