Bug Memory error

Status
Not open for further replies.
Website
https://www.epicnpc.com
Product version
2.3.0
Forum version
vBulletin 4.2.x
#1
We upgraded to VB 4.2.5, Mysql 5.6 and PHP7 and now the daily cron job is hitting a memory error every day.

We have memory size set to 512mb, which is large, so I'm not sure how it's hitting this limit. Any ideas how to fix it without just increasing the memory limit?


PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1580989120 bytes) in /home/domain/public_html/includes/class_core.php on line 1386


in mysqli_query called at /home/domain/public_html/includes/class_core.php (1386)
…SQLi::execute_query called at /home/domain/public_html/includes/
class_core.php (475)
…slave called at /home/domain/public_html/dbtech/credits/cron/
credits_daily.php (41)
in include_once called at /home/domain/public_html/includes/functions_cron.php (276)
in exec_cron called at /home/domain/public_html/cron.php (86)
 

Belazor

Staff member
Owner
Developer
Customer
#2
This is not a bug, this simply means you have a lot of members on your site. By design, the daily user cron will process every member on your site and look for valid events.

You can turn this off by turning off the "Mass Apply Daily Actions" setting on the vBCredits Configuration page.
 
#3
This error didn't happen before the upgrades.

It would be a big coincidence if we were just under the limit, then the same day we updated it went over the memory limit.

"Enable this to process all users' birthday, paycheck, and activity actions every midnight. "

What is paycheck?

We currently use only a few actions. Would disabling "Mass Apply Daily Actions" have any affect on those?

Redeem
Infraction
Adjust
Purchase
 

Belazor

Staff member
Owner
Developer
Customer
#4
No, disabling the daily actions will not impact any of those 4 actions.

Paycheck is the ability to give certain usergroups credits automatically at set intervals.
 

DragonByte Technologies

Company Information
Staff member
Company Info
#5
Hello mikez006,

This ticket has now been closed with the status Not A Bug.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
815
Customer rating
0.00 star(s) 0 ratings
Top