I have been asked to debug an online program that keeps running out of storage and nobody can explain why. I have a suspicion that I know why but I would greatly value someone else's opinion...
Let's say Module A is the Main Module.
Module A calls Module B which has an ON ERROR Block coded (no REVERT).
My suspicion is that every time Module B is entered it allocates more storage for a new On Error block. Can someone confirm this?
Can this extra storage be released by a REVERT at the end of Module B?
If I arrange that the ON ERROR Block is executed only on the first entry to Module B, will it still be in force the next time Module B is called?
I know there is someone out there who can answer this. Very many thanks for your advice.