I disabled IPv6 everywhere and that fixed the issue. I then re-enabled IPv6 and tried changing various settings. Turns out "Send rapid commit" was added and got enabled in both my LAN and WAN's DHCPv6 config and was running a script again and again and again until the system ran out of memory. Disabling this option and then rebooting fixed the issue.
It shouldn't get auto enabled and it shouldn't be running a script over and over.
It shouldn't get auto enabled and it shouldn't be running a script over and over.
"