Status
Not open for further replies.

tavenger5

Customer
I'm getting this error ramdomly throughout the day:

Code:
PHP Fatal error:  Out of memory (allocated 227278848) (tried to allocate 4438368 bytes) in /home/site/public_html/vboptimise/core/class_operator_memcache.php on line 66

I assume it is only happening when a large amount of data is being written into the cache. Short of increasing the php memory is there anything else I can do?
 
I didn't think so - I increased the php memory from 256 to 512. I'll have to see how that works out.

---------- Post added 29th November 2011 at 10:52 ---------- Previous post was 14th November 2011 at 11:12 ----------

I ended up increasing to 1gb and I'm still getting the errors. It looks like with each instance it's trying to store something from the CMS in the cache and the cache can't handle it. I did a full stack trace:

Code:
[29-Nov-2011 03:34:41] PHP Fatal error:  Out of memory (allocated 226230272) (tried to allocate 4696400 bytes) in /home/site/public_html/vboptimise/core/class_operator_memcache.php on line 66
[29-Nov-2011 03:34:41] PHP Stack trace:
[29-Nov-2011 03:34:41] PHP   1. {main}() /home/site/public_html/index.php:0
[29-Nov-2011 03:34:41] PHP   2. require() /home/site/public_html/index.php:56
[29-Nov-2011 03:34:41] PHP   3. require_once() /home/site/public_html/content.php:30
[29-Nov-2011 03:34:41] PHP   4. vB_Router::getResponse() /home/site/public_html/vb/bootstrap.php:58
[29-Nov-2011 03:34:41] PHP   5. vBCms_Route_Content->getResponse() /home/site/public_html/vb/router.php:251
[29-Nov-2011 03:34:41] PHP   6. vB_Controller->getResponse() /home/site/public_html/packages/vbcms/route/content.php:97
[29-Nov-2011 03:34:41] PHP   7. call_user_func_array() /home/site/public_html/vb/controller.php:185
[29-Nov-2011 03:34:41] PHP   8. vBCms_Controller_Content->actionView() /home/site/public_html/vb/controller.php:185
[29-Nov-2011 03:34:41] PHP   9. vB_Content->getPageView() /home/site/public_html/packages/vbcms/controller/content.php:189
[29-Nov-2011 03:34:41] PHP  10. vBCms_Content_Section->populateViewContent() /home/site/public_html/vb/content.php:313
[29-Nov-2011 03:34:41] PHP  11. vBCms_Content_Section->aggregateContent() /home/site/public_html/packages/vbcms/content/section.php:293
[29-Nov-2011 03:34:41] PHP  12. vB_Collection->getShown() /home/site/public_html/packages/vbcms/content/section.php:516
[29-Nov-2011 03:34:41] PHP  13. vB_Collection->Load() /home/site/public_html/vb/collection.php:738
[29-Nov-2011 03:34:41] PHP  14. vB_Model->Load() /home/site/public_html/vb/collection.php:408
[29-Nov-2011 03:34:41] PHP  15. vB_Model->loadInfo() /home/site/public_html/vb/model.php:302
[29-Nov-2011 03:34:41] PHP  16. vBCms_Collection_Content->applyLoad() /home/site/public_html/vb/model.php:348
[29-Nov-2011 03:34:41] PHP  17. vB_Collection->applyLoad() /home/site/public_html/packages/vbcms/collection/content.php:427
[29-Nov-2011 03:34:41] PHP  18. vBCms_Collection_Content->createItem() /home/site/public_html/vb/collection.php:448
[29-Nov-2011 03:34:41] PHP  19. vB_Item_Content::create() /home/site/public_html/packages/vbcms/collection/content.php:751
[29-Nov-2011 03:34:41] PHP  20. vBCms_Item_Content->__construct() /home/site/public_html/vb/item/content.php:124
[29-Nov-2011 03:34:41] PHP  21. vB_Item_Content->__construct() /home/site/public_html/packages/vbcms/item/content.php:576
[29-Nov-2011 03:34:41] PHP  22. vB_Model->__construct() /home/site/public_html/vb/item/content.php:108
[29-Nov-2011 03:34:41] PHP  23. vBCms_Item_Content->setItemId() /home/site/public_html/vb/model.php:211
[29-Nov-2011 03:34:41] PHP  24. vBCms_Item_Content->loadCache() /home/site/public_html/packages/vbcms/item/content.php:538
[29-Nov-2011 03:34:41] PHP  25. vB_Cache->read() /home/site/public_html/packages/vbcms/item/content.php:1032
[29-Nov-2011 03:34:41] PHP  26. vB_Cache_vBOptimise->readCache() /home/site/public_html/vb/cache.php:364
[29-Nov-2011 03:34:41] PHP  27. vb_optimise_operator->vbcache_getindex() /home/site/public_html/vb/cache/vboptimise.php:156
[29-Nov-2011 03:34:41] PHP  28. vb_optimise_operator->get() /home/site/public_html/vboptimise/core/class_operator_model.php:169
[29-Nov-2011 03:34:41] PHP  29. vb_optimise_memcache->_get() /home/site/public_html/vboptimise/core/class_operator_model.php:49
[29-Nov-2011 03:34:41] PHP  30. Memcache->get() /home/site/public_html/vboptimise/core/class_operator_memcache.php:66
 
That could happen to any script, it's just chance it happened to be a vBO page. But you can try turning off the CMS cache in vB Optimise to stop it happening on that particular page, though.

Out of curiosity, do you use the CMS for a large amount of content?
 
The largest CMS page is probably one like this under the review section: Motorola Droid Bionic Review - Cell Phone Forums

---------- Post added 1st December 2011 at 08:52 ---------- Previous post was 29th November 2011 at 11:50 ----------

oh I just realized I read that wrong - there's about 2500 imported articles in the CMS. In some cases there are a lot of comments too.
 
Status
Not open for further replies.

Similar threads

Legacy vB Optimise

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