php.ini memory_limit

CharacterProfiler.lua file uploading issues

php.ini memory_limit

Postby ScratchMonkey » Tue Oct 13, 2009 1:43 pm

I just updated to r2018 and had to bump my php.ini memory_limit from 32M to 48M. I was getting an out of memory error in addons/achievements/inc/Snoopy.class.php. I have LOTS of alts, so my CP file is pretty big, 7.6 MB uncompressed and just over a meg gzipped.
Image
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Re: php.ini memory_limit

Postby zanix » Wed Oct 14, 2009 2:04 am

Have you tried disabling the Achievements addon?
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: php.ini memory_limit

Postby ScratchMonkey » Wed Oct 14, 2009 8:26 am

No, is that advised?

BTW, I do find I need to make the following patch (misspelling of function name):

Code: Select all
Index: lib/armory.class.php
===================================================================
--- lib/armory.class.php        (revision 2018)
+++ lib/armory.class.php        (working copy)
@@ -126,7 +126,7 @@
                }
        }

-       function fetchArmoryachive( $url, $character = false, $guild = false, $realm = false, $item_id = false,$fetch_type = 'array' )
+       function fetchArmoryachieve( $url, $character = false, $guild = false, $realm = false, $item_id = false,$fetch_type = 'array' )
        {
                global $roster;

Image
User avatar
ScratchMonkey
WR.net Expert
WR.net Expert
 
Posts: 212
Joined: Wed Jul 05, 2006 4:32 pm
Location: San Pablo, CA

Re: php.ini memory_limit

Postby zanix » Wed Oct 14, 2009 4:43 pm

ScratchMonkey wrote:No, is that advised?

It might be, the Achievements addon might be the cause of the high memory usage, since that is where php is running out of memory
Code: Select all
addons/achievements/inc/Snoopy.class.php
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Uploading

Who is online

Users browsing this forum: No registered users and 1 guest