I am receiving the following error after attempting to one-click Commons (7.x-3.4-core) install from Acquia Dev Desktop 2.0-beta:

Warning: require_once() [function.require-once]: Unable to allocate memory for pool. in module_load_include() (line 330 of /Users/mariano.crivello/Sites/Dev Desktop/commons-7.x-3.4-core/includes/module.inc).

(screenshot)

This is because Commons requires more APC cache then the default 64MB limit in Acquia Dev Desktop 2.0-beta.

I was able to remediate the issue by changing the apc.shm_size value in the active php.ini file.

In my particular case i was using php 5.3.

og config
/Applications/Dev\ Desktop/php5_3/bin/php.ini:1015:apc.shm_size=64M

new config
/Applications/Dev\ Desktop/php5_3/bin/php.ini:1015:apc.shm_size=96M

I am suggesting an apc.shm_size check and recommended configuration prior to db provisioning at install.

Comments

philosurfer’s picture

Category: bug » feature

changing to feature request.

moar beer!

philosurfer’s picture

Issue summary: View changes
StatusFileSize
new2 KB

Added patch

philosurfer’s picture

Status: Active » Needs review
japerry’s picture

Status: Needs review » Fixed

I've cleaned up the code and tested against the different APC scenarios. Looks good!

Commit here:
http://drupalcode.org/project/commons.git/commit/f1e42f5

japerry’s picture

Title: Post Install issue w/Acquia Dev Desktop v.2.x-beta » Require APC cache to be at least 96M, Install Fails if too low

Renaming for future clarity

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.