hmmm, my machines have no issue with this so I can't really duplicate the issue ...
But seems to be cause by limited memory ... maybe ... how much memory does your machine have? The command works fine even on my netbook with 1 G.
Anyways worth a shot, edit as root /etc/cron.weekly/apt-xapian-index and replace the line
nice -n 19 $IONICE -c3 $CMD --quiet
nice -n 19 $IONICE -c3 $CMD --update --quiet
also replace the line
nice -n 19 $CMD --quiet
nice -n 19 $CMD --update --quiet
The theory here is to update the database instead of rebuild it, should be faster and use less resources.Go to the full post