Ruby 3.2.1 / Rails 7 YJIT Memory Woes

Trying to use YJIT here, memory usage seems pretty crazy. More than doubling baseline usage. Also using Jemalloc.

The majority of the graph is showing usage with YJIT enabled, and then at the end when it goes way down is after disabling it.

Any tips here or is this actually expected behavior?