Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Memory error when accessing profile

10 years 7 months ago
Licenses:
JomSocial Active

Hi

I'm seeing a lot of errors in NewRelic associated to com_community.
Here is the type of message that I see:

E_ERROR: Out of memory (allocated 122683392) (tried to allocate 44 bytes)
in JTable::__construct called at /home/brejasco/public_html/brejasbr/libraries/joomla/table/table.php (171)
in JTable::__construct called at /home/brejasco/public_html/brejasbr/components/com_community/tables/album.php (39)
in CTableAlbum::__construct called at /home/brejasco/public_html/brejasbr/libraries/joomla/table/table.php (305)
in JTable::getInstance called at /home/brejasco/public_html/brejasbr/components/com_community/models/photos.php (934)
in CommunityModelPhotos::sortAlbums called at /home/brejasco/public_html/brejasbr/components/com_community/models/photos.php (894)
in CommunityModelPhotos::_getAlbums called at /home/brejasco/public_html/brejasbr/components/com_community/models/photos.php (788)
in CommunityModelPhotos::getProfileAlbums called at /home/brejasco/public_html/brejasbr/components/com_community/libraries/userstatus.php (60)
in CUserStatus::render called at /home/brejasco/public_html/brejasbr/components/com_community/views/profile/view.html.php (771)
in CommunityViewProfile::profile called at /home/brejasco/public_html/brejasbr/components/com_community/views/views.php (251)
in CommunityView::get called at /home/brejasco/public_html/brejasbr/components/com_community/controllers/profile.php (1374)
in CommunityProfileController::profile called at /home/brejasco/public_html/brejasbr/components/com_community/controllers/profile.php (1127)
in CommunityProfileController::display called at /home/brejasco/public_html/brejasbr/components/com_community/controllers/controller.php (327)
in CommunityBaseController::execute called at /home/brejasco/public_html/brejasbr/components/com_community/community.php (143)
in require_once called at /home/brejasco/public_html/brejasbr/libraries/cms/component/helper.php (392)
in JComponentHelper::executeComponent called at /home/brejasco/public_html/brejasbr/libraries/cms/component/helper.php (372)
in JComponentHelper::renderComponent called at /home/brejasco/public_html/brejasbr/libraries/cms/application/site.php (191)
in JApplicationSite::dispatch called at /home/brejasco/public_html/brejasbr/libraries/cms/application/site.php (230)
in JApplicationSite::doExecute called at /home/brejasco/public_html/brejasbr/libraries/cms/application/cms.php (252)
in JApplicationCms::execute called at /home/brejasco/public_html/brejasbr/index.php (45)

I'm already allocating a good amount of memory to the system, so I don't think that the solution is increasing memory.

Do you have any idea of what could be going wrong?
thanks

10 years 7 months ago
Licenses:

Hi,

that error message was very clear. you need to increasing memory limit under php configuration.
at your site, the memory_limit only 512M. please increase it to 1024M
please asking your hosting support about how to do it. Because related with server configuration

Regards

10 years 7 months ago
Licenses:
JomSocial Active

Hi Albertus

1GB for memory allocation isn't expected for any good php script.
Don't you think that it's related to bad code?
What happens if I increase to 1GB and the problem persists?

I believe you should know how much memory is needed and 1GB is definitely not something that is average for the market.

10 years 7 months ago
Licenses:

Hi,

1024M as jomsocial recommended for memory limit
documentation.jomsocial.com/wiki/System_Requirements

regarding that error message. only this solution we can do. could you please try it first? I dont want make any speculation.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW