Compiler gets stuck compiling Ecto schemas with Ecto 3.13

Hello

Today I got a PR to bump Ecto from 3.12.5 to 3.13.1, I noticed my CI setup failed. When compiling the project locally it got killed by the OS because it ran out of memory. Is anyone experiencing this issue as well? I have another project with less Ecto schemas, which uses the postgrex driver that did compile successfully, the one that fails has around 70 schemas and uses myqxl driver.

The console shows the following, I’m not sure how to debug this further.

==> core
Compiling 160 files (.ex)
Compiling lib/core/rules.ex (it's taking more than 10s)
Compiling lib/core/extensions.ex (it's taking more than 10s)

Versions:
Erlang/OTP 27.2
Elixir 1.18.1

It appears that the issue is already fixed in the latest commit (specifically 3b2d006), it compiles successfully using that ref.

I apparently also didn’t search well enough through the issues as there was already an issue opened for this: Memory leak after upgrading from 3.12.6 to 3.13.1 · Issue #4621 · elixir-ecto/ecto · GitHub.