I have fixed the crashing issue, it was caused by my armature code instantiating a the scene for the ambrosia every frame instead of just when it was needed. this caused the memory usage to constantly increase by making a bunch of orphaned nodes.
I fixed this by moving the code into the if statement that checks if a new ambrosia mushroom was purchased.
problem solved. : ]