Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Plugin install - Fatal error: Out of memory, host is 2GB
Avatar
Halo Diehards
Member
Free Members
sp_UserOfflineSmall Offline
Sep 15, 2014 - 1:41 pm

Trying to install my first plugin, the buddypress integration one, and I'm getting the Fatal error: Out of memory.

Fatal error: Out of memory (allocated 76808192) (tried to allocate 53 bytes) in ****/wp-includes/capabilities.php on line 778

 

* My host is 2GB RAM

* My wp-config and php.ini say 128M

 

I've spent almost three hours on this so far and don't know what the issue is; this doesn't ever happen, so I have no experience with it.

 

Edit: trying to add it to my .htaccess results in a crash.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 15, 2014 - 2:36 pm

128MB of php memory will often be enough - we can run WP and SP in 64MB. But if you have many other plugins active and a busy website then 128MB these days is looking quite small.

if you can not change the php memory allocation yourself then you may have to ask your host to do so.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Halo Diehards
Member
Free Members
sp_UserOfflineSmall Offline
Sep 15, 2014 - 5:37 pm

Do you know if there is a way to check if the changes I've made for 128MB have taken effect? My site is not very active at all, and I'm not sure how many plugins would be considered many, but I have deactivated a ton of bbPress ones since I'm trying to use Simple Press, so I'm actually using far less plugins than I was with no trouble.

If I were to edit my wp-config and php.ini higher than 128MB, what would you suggest?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 15, 2014 - 6:31 pm

This article might help. Try a standard increase like for example 64 - 128 - 256.. etc...

If you are confident in increasing the limit yourself, the article I've linked to might just help you verify that the changes have occurred without you having to contact your host. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 15, 2014 - 8:33 pm

what settings do you have for the wp buddypress plugin?

and perhaps silly question, but the latest version of our buddypress plugin?

Avatar
Halo Diehards
Member
Free Members
sp_UserOfflineSmall Offline
Sep 18, 2014 - 2:20 am

First, if it helps any, I've installed several of the Simple Press plugins without a hitch, all except the BuddyPress one, so there's definitely some sort of conflict there.

I have the latest version of WordPress and BuddyPress, and I don't have any BuddyPress plugins.

  • On the first page of the BuddyPress settings, Components, all the choices are selected.
  • On "Settings" all are selected except "Enable group creation for all users"

 

Let me know if you need any more info. I'll try to check out that article tomorrow and test if my php settings really are 128MB.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 18, 2014 - 3:54 am

Please do let us know..

Avatar
Halo Diehards
Member
Free Members
sp_UserOfflineSmall Offline
Sep 18, 2014 - 12:25 pm

Ok, according to the php-view-info file, my limit is 120M. The article refers to a plugin which will show me usage, so I installed a plugin which displays the WP limit I've defined: 128M. Not sure where the 120M is coming from, but it doesn't seem relevant, as according to the plugin my setup is only using 24%, or 30.3M.

So there seems to be some sort of overload or something happening when I try to install the BuddyPress plugin for Simple Press. Any ideas on where we should look next to problem solve?

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 18, 2014 - 4:08 pm

I think there has only been one previous issue similar to this with the BuddyPress plugin. And unfortunately that was resolved by a reinstall so as far as that goes, and with your php memory well within it's limits I don't really have any other suggestions. Maybe Mr Papa does, as he had previously asked questions.

Do you have any plugins running addons for BuddyPress that might only activate when BuddyPress is activated? and do you have any BuddyPress modules deactivated? I am basing this purely on the one previously presented problem.

Avatar
Halo Diehards
Member
Free Members
sp_UserOfflineSmall Offline
Sep 18, 2014 - 6:30 pm

Ike said
I think there has only been one previous issue similar to this with the BuddyPress plugin. And unfortunately that was resolved by a reinstall so as far as that goes, and with your php memory well within it's limits I don't really have any other suggestions. Maybe Mr Papa does, as he had previously asked questions.

Do you have any plugins running addons for BuddyPress that might only activate when BuddyPress is activated? and do you have any BuddyPress modules deactivated? I am basing this purely on the one previously presented problem.

 

As I've said, I do not have any BuddyPress plugins at all. I'm not sure what BuddyPress modules are, but I've listed above my exact BuddyPress settings. Was it a BuddPress or a SimplePress reinstall?

Do you know what plugins were involved in that other instance? I've had BuddyPress plugins, I'm just curious if there might be some residual code or something, if there's a coincidence that we could follow there.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600