Closed (won't fix)
Project:
Recommender API
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2011 at 22:44 UTC
Updated:
24 Jun 2011 at 13:34 UTC
I'm running out of memory trying to set up recommender for the first time. What do I do?
drush recommender
Recommender modules to run: history_rec
Process might take a long time. ***Please be patient. Thanks.***
Running history_rec at 2011-05-11T16:36:51-06:00 ..........
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 73 bytes) in /var/www/vhosts/breadboard/httpdocs/sites/all/modules/recommender/Matrix.php on line 263
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 73 bytes) in /var/www/vhosts/breadboard/httpdocs/sites/all/modules/recommender/Matrix.php on line 263
Drush command could not be completed.
Comments
Comment #1
sterndata commentededited max memory in php.ini to 728M and still ran out of memory!
Comment #2
angusmccloud commentedSterndata, did you find a fix for this? I have my memory limit set to about 5gigs, and I get this error as well.
I'm trying to run a little over 60k ratings, 2k users, 6k nodes
UPDATE -- Drush was using a different PHP.ini file, so modifying that one up to 5gb as well, hoping that fixes it. (running through the web at 5gb doesn't work at this size)
Comment #3
sterndata commented@angus -- I haven't found a workaround for this. I've set the memory limit as high as real memory 75% of virtual memory and still run out of memory. It just takes longer before it fails.
Comment #4
danithaca commentedI'm working on #1180000: GSoC2011: Apache Mahout Integration. It should fix some performance issues. Will mark this issue as "won't fix" when #1180000: GSoC2011: Apache Mahout Integration is done.
Comment #5
danithaca commentedPerformance issue is solved by using Mahout integration. See #1180000: GSoC2011: Apache Mahout Integration for D7 and #1198954: D6 back port: Mahout support for D6.
Drush doesn't seem to be needed anymore, because we won't do intensive PHP computations in PHP-CLI. So drush won't be supported in the RecAPI 3.x releases.
I don't plan to fix this in the 6.x-2.x release because it doesn't seem to be easily fixable under the PHP environment