Stack and Heap

Stack Area is used when function is called and they are called call stack. Normally, reference types are stored on Heap area and value types are stored on Stack Area.

https://wanzargen.tistory.com/17

Stack overflows means the area is full. It happens when call stack is too stuffed.

https://whatis.techtarget.com/definition/stack-overflow

Normally value types’ size is set in compile time and reference type’s size is set in run time.