Recently I suffered memory problems on one of my Wordpress single site installation.
I proceeded to disable all plugins and reactivate them one by one
Found out that the Paypal add on is causing an error when I try to upload media from the media uploader
this is the error Wordpress gave me
If i disable that plugin (Gravity Forms paypal addon) everything went back to normal