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).
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | commons-added_apc_check-issue-707484.patch | 2 KB | philosurfer |
Comments
Comment #1
philosurfer commentedchanging to feature request.
moar beer!
Comment #2
philosurfer commentedAdded patch
Comment #3
philosurfer commentedComment #4
japerryI've cleaned up the code and tested against the different APC scenarios. Looks good!
Commit here:
http://drupalcode.org/project/commons.git/commit/f1e42f5
Comment #5
japerryRenaming for future clarity