I recently started running into out of memory errors while running Drupal's awesome Drush module from the command line to update a sites modules.
This is odd as on my dev machine I've set up my php.ini to reserve 512MB of RAM (memory_limit=512M). That should be plenty!
I temporally upped the RAM to 2GB(!!) and was still getting out of memory errors when running Drush!