Hello I am using magmodule rich snippet where this code block add some snippet to catalogue page:
$snip_html = $block->getLayout() ->createBlock('snippets/products') ->setTemplate('magmodules/snippets/widget.phtml') ->toHtml();
But this is generating error as follow:
Allowed memory size of 805306368 bytes exhausted (tried to allocate 53660871 bytes) in ob_get_clean called at app/code/core/Mage/Core/Block/Template.php (263)
Even if I emptied the 'magmodules/snippets/widget.phtml' then also error persist there but if I do exit at the end of phtml file then there is no error.
So what is the issue here and how to debug this issue.