Posted by islevegan on September 8, 2009 at 8:24pm
Jump to:
| Project: | Activity Stream |
| Version: | 6.x-1.0-rc2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
(tried to allocate 62898176 bytes) in /var/www/drupal/sites/all/modules/activitystream/activitystream_feed/simplepie.inc on line 7743
This comes every few hours. I have increased the php.ini alotment from 64 to 72, then to 80 and still getting the message.
I also have the facebook and youtube activity stream modules activated.
This could be related or connected to my attempt to use the domain access module, as it happened around the same time but I have been making a few module updates lately, such as captcha, and agenda - they were both updated recently. I do any uninstall process after deactivating a module, such as with domain access.
Comments
#1
I suspect that the issue lies elsewhere, if only because the type of data you'll find in feeds isn't going to take up a lot of memory, and Activity Stream only holds one feed in memory at a time. It also goes to some lengths to minimize memory consumption.
I'd suggest looking at any modules you have that create or manipulate images. Those are often the culprits when it comes to memory issues.
#2
I also have an memory problem with Activity stream - when I run cron, with Activity Stream enabled, it takes for ever and fails on a memory issue. When I disable Activity Stream's module, it works fine. I have several users with many Streams coming in, and so my amount of 'activity stream' nodes is incredibly large - I'd like to be able to delete some of them after a certain age but I'm not sure how.
#3
Is there any more info you need from this? I have a large amount of activity streams, and cron doesn't not run when activity stream is enabled. Disabling activity stream allows cron to run beautifully.
#4
same issue as 'Steven Mansour' does.................I manually deleted so much Activity Stream content, thankfully on a beta site..............this should be a Very Important feature request to allow delete the Activity Stream content after a certain amount................
I suppose Heartbeat has such feature............
#5
ragavendra: The amount of content that already exists on your site has no bearing at all on Activity Stream's cron or the amount of memory the module uses. That content's already in your database and doesn't get looked at during cron.
If you have a very large number of sources for Activity Stream to fetch or a very large number of users, you'll see better performance by moving to the 2.x version of the module and installing Job Queue. This will allow AS to only update a handful of users at a time, and let Job Queue handle the updates of everything else.
But this has nothing to do with memory.
Do you happen to have the devel module installed? If you do, it will gather the entire contents of every SQL query you run into memory. During cron, this might be a large number of queries. Disable devel (which should never be enabled on a production site anyway) and see if this resolves it.