Space in program

Will I get recursion limit exceeded more early if I am using big arrays or variables that consume more memory in the function??

hey @govilayush
R u asking w.r.t python ?

No. I am asking in general.

Yaar it depends on language and how u are passing (by ref or by val)
In python ,args are always passed by reference so arraysize wont make a difference ,though by default recursion limit in python is set to 1000 calls

There is nothing like recursion limit exceeded in C++ ,and hence no concept of recursion limit
When u use too much memory it gives segmentation fault.

Cant say for other languages.

In c++ if u pass big arrays by value then a copy of them is made for every recursive call hence it will give segmentation earlier