in reply to Re^2: Out of memoryin thread Out of memory
Look this is no " copy and pasted code fixing service" , you need to to try to understand what your code does.
Cheers Rolf
PS: Je suis Charlie!