Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Errormessage: Allowed memory size ...

phpMyEdit General     Errormessage: Allowed memory size ...
Post new topic   Reply to topic    
 
funky_mo     Joined: 16 Dec 2005   Posts: 1  
Post Posted: 2005-12-16 15:31
Back to top  Reply with quote     

Hi,

I receive this errormessage when I'm try to change a data record via phpMyEdit:
Code:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /opt//ampp/htdocs/ordner/phpMyEdit.class.php on line 681

Can anyone tell me the reason for this error?
When I try to display the data record it works fine, but changing is not possible.

Best Regards, Mo

 
vstlmoox     Joined: 17 Aug 2006   Posts: 3  
Post Posted: 2006-08-17 10:40
Back to top  Reply with quote     

funky_mo wrote:
Hi,

I receive this errormessage when I'm try to change a data record via phpMyEdit:
Code:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /opt//ampp/htdocs/ordner/phpMyEdit.class.php on line 681

Can anyone tell me the reason for this error?
When I try to display the data record it works fine, but changing is not possible.

Best Regards, Mo


I have a similar error message, which I can not figure out to save my soul.... The error message appeared after loading the table. I am working with datasets that can exceed 60MB or more.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4008810 bytes) in /opt/lampp/htdocs/phpMyEdit-5.5/phpMyEdit.class.php on line 1751

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2006-08-17 11:58
Back to top  Reply with quote     

this means pme is consuming too much memory. make it consume less, or change apache settings
limit $opts['inc'] to lower number (not -1, but like 20)
limit number of columns (to 10 lets say) and slowly increase

 
vstlmoox     Joined: 17 Aug 2006   Posts: 3  
Post Posted: 2006-08-17 13:04
Back to top  Reply with quote     

michal wrote:
this means pme is consuming too much memory. make it consume less, or change apache settings
limit $opts['inc'] to lower number (not -1, but like 20)
limit number of columns (to 10 lets say) and slowly increase


limit $opts['inc'] to lower number (not -1, but like 20) ...did it! Thank you. I come back when I might have further questions.

 
wdarmajaya     Joined: 13 Jun 2007   Posts: 4  
Post Posted: 2007-06-14 19:03
Back to top  Reply with quote     

Hi,

I set $opts['inc'] = 10 and I'm still getting this error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /include/phpMyEdit/phpMyEdit.class.php on line 1921

There are about 4.2 million records in the table.

Any suggestions?

Thank you

 
wdarmajaya     Joined: 13 Jun 2007   Posts: 4  
Post Posted: 2007-06-14 21:19
Back to top  Reply with quote     

Hi Doug,

That works like a champ! The page loads really quick.
Thank you for your assistance.

I also tried to increase the memory_limit to 128M on the php page which solves the problem; however, it takes a while to load the page.

Thanks again.

 
wdarmajaya     Joined: 13 Jun 2007   Posts: 4  
Post Posted: 2007-06-14 21:44
Back to top  Reply with quote     

Yup the memory setting is reset back to the default.

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy