Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What would be best memory management strategy while writing a recursive function/method?

Recursion requires lots of resources (computing power and memory). How to plan for best possible performance?

user-image
Question added by Gautam Sahib PMP , IT Project Manager – ERP , Al Roumi Group
Date Posted: 2017/01/11
Abusaleh Md Nayeem
by Abusaleh Md Nayeem , Head Of Software Development , Hana System Limited

Use of Dynamic Memory Allocation to Overcome Stack Overflow and Conversion of the Recursive Function into a Simple Class of Loop for the Function may help.SomeReferenceType value = new SomeReferenceType();That's dynamic memory allocation.

More Questions Like This