Prefered way to profile memory usage of a Crystal program?

Title, there is a preferred way to check the memory usage of each part of the program? Does tools like valgrind just work as is for memory profiling or there is something better for Crystal due to the use of GC?

I don’t have an answer for you, but I just wanted to clarify: did you mean “tools like valgrind”?

Maybe helpful: Alys, a memory allocation tracer for Crystal

1 Like

Yes, my bad. vagrant is for VMs.

No worries, I just wanted to try and ensure what you were asking for was clear so that people can give you helpful answers. :slight_smile: