I have for example
Folder(1) ->Folder(2)->…..Folder(x)
within each Folder there some files.
I need to preform Encryption OR Decryption …
I have a Looping/ recursion functions to go over all files and folders, to perform the Ciphering… also read/write files.
all this consumes Memory .. Right now I have a Heap of limit = 20.
I would like to know the OPTIMAL way to select my HEAP limit.
I know this is not related but just in case I’m using C#.NET
I handled Exceptions using try-catch … rather than defining a heap limit which should differ from one machine to another, worked fine for me.