Hello,
Sorry for not wasting time for secondary questions answering.
The problem is memory, and it should be solved.
I would like to offer to provide code without any obligation for payment for you.
During 24 hours I will answer to what level I can reduce the memory usage.
If you satisfy with the level, then you create contact for me.
Please let me know if I can offer better terms for you.
Regards,
Arsen