in reply to Memory Leak

You've given us the freedom to speculate endlessly by not showing code.

Here's the answer: you have a hash which is never emptied and each time data is added, it grows. Reset it with %hash = (); between forms.

I could be only guessing ;-)

After Compline,
Zaxo