I am trying to use Mahout with an application engine. There are several problems that have arisen, but the main problem now: how can I make a recommendation if the model is too large to store in memory?
I use memcache, but by default the layout of Mahout is not serialized. I serialize FastIDSet instead, but then, when I need to make a recommendation, I have to get FastIDSet from memcache, use it as a parameter for the recommender, and then make a recommendation.
That would be nice, but keeping both in memory gives me an error in the heap area, although my database is not too large (19 MB).
I cannot do this in chunks because Mahout expects initialization with a complete data model.
Does anyone have any experience with this issue?
Thank you and good afternoon.
source
share