laravel-jqgrid icon indicating copy to clipboard operation
laravel-jqgrid copied to clipboard

Allowed memory size of 134217728 bytes exhausted

Open JHanAlex opened this issue 8 years ago • 1 comments

I have a table with over 2 246 813 records. After I tried to render a 5000 page (type in a footer of jqgrid and press enter), I have an error in log: local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 524288 bytes)' in D:\web\exchange\www\vendor\laravel\framework\src\Illuminate\Database\Connection.php:323

JHanAlex avatar Feb 21 '17 09:02 JHanAlex

It seems to me, that limit in class JqGridJsonEncoder count wrong. row 246: $limit = $limit * $page; I comment this row and everything is fine

JHanAlex avatar Feb 21 '17 10:02 JHanAlex