Zen Cart Logo
Forums / Bug Reports / Fatal Memory Error doing log saving after loading many records with easy populate

Fatal Memory Error doing log saving after loading many records with easy populate

Views: 809

Results 1 to 3 of 3
25 Mar 2021, 12:37 AM
#1
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Fatal Memory Error doing log saving after loading many records with easy populate

157c
display_logs-2.2
EasyPopulate4-4.0.37.11
reCaptcha v3.4
keep_cart1.0
google_analytics-bada883
one-page-checkout-2.3.7
remember-me-2.0.1
sitemapXML
usu-3.0.8
Image-Handler-5.1.10

[25-Mar-2021 00:26:46 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 120821616 bytes) in /home/account/public_html/admin/admin_activity.php on line 278

[25-Mar-2021 00:26:46 UTC] Request URI: /admin/index.php?cmd=admin_activity&action=save, IP address:
--> PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 120821616 bytes) in /home/account/public_html/admin/admin_activity.php on line 278.

This will not be an everyday occassion but I have run the EasyPopulate 4 a few times and loaded probably over 100k products. And all the other stuff from getting the cart up and running. Maybe it can be fixed ... maybe not? This was creating a backup of the logs in the admin.

25 Mar 2021, 12:54 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Fatal Memory Error doing log saving after loading many records with easy populate

On line 278 of that file it's reading-back the exported data to verify that the file was saved correctly so that it can display a status message about it.

As you said, it's a bit of a rare situation to have such a massive log.

Since the file has been exported at that point, you can check the file manually to be sure it looks complete (as opposed to being a broken file that's unusable) ... granted, it's obviously massive in size and so you might run into memory issues in whatever app you're loading the file into.

And, since the file has been exported by now, you can go ahead with your next usual step of clearing the log.

25 Mar 2021, 3:41 PM
#3
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Fatal Memory Error doing log saving after loading many records with easy populate

Thank you!