Page 1 of 1

errors with the grid mode

PostPosted: Tue Jul 17, 2012 12:10 am
by Jean
Hi Steve,

I have problems with the grid mode on big tables though I have solved another error in small tables.

On big tables I have
Code: Select all
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35 bytes) in C:\xampp\htdocs\xataface-1.3.2\PEAR.php on line 872


Pear line is
Code: Select all
     $this->backtrace = debug_backtrace();

May be you'll have a clue, how I can solve this.

Thank you

Jean

Re: errors with the grid mode

PostPosted: Tue Jul 17, 2012 2:43 pm
by shannah
How big is the table? (how many records are you showing per page)? It looks like its just running out of memory.

Re: errors with the grid mode

PostPosted: Wed Jul 18, 2012 2:43 am
by Jean
I have just 63 items and pages are 30 items each.

Re: errors with the grid mode

PostPosted: Thu Jul 19, 2012 12:36 pm
by shannah
So this is using the grid module? It is hard to say where the memory leak is occurring without actually looking at the application and tinkering with the code.

You could try increasing the memory limit even more, though you already seem to have a healthy amount allotted. Is your grid just using the default table or is it making use of related fields? (There is an undocumented feature that allows you to include related fields in the grid.. which can increase memory requirements).

If you change the -limit to a number smaller than 30, does this change anything? (e.g. try changing it to 20 or 10 or 1) - just to see what happens to the memory.

-Steve

Re: errors with the grid mode

PostPosted: Mon Jul 30, 2012 7:10 am
by tomtom8
Hello!
I have the same error, I have two tables one primary "odl" with 160 records and one as view "odl_view" with same records , however, the error I get is only on the odl table

Michele