2. no, should be not related.
steps:
1.what's memory_limit value in phpinfo()?
2.increase memory_limit in php.ini. restart lsws, check phpinfo() again, if it increase as expected.
3.does the error disappear?
4. if not yet, increase lsphp5 's
Memory Soft Limit (bytes)
Memory Hard Limit (bytes)
where: server->External App->lsphp5
and restart lsws