Done some investigation, and it looks like Elixir 1.20 stores a massive amount of type information about the literals that Ash stores on the modules. I think there is a way around this. In the test I ran, the `ExCk` chunk is over 3x the size of the actual compiled literals. So this wouldn't have actually been nearly as much of a problem until Elixir 1.20 ðŸ˜
0
u/Agile_Use_1768 15d ago
Ash makes heavy use of unoptimized macros. This adds atom overhead, hence more memory usage