Mongo does not reclaim storage when you delete documents. For some reason, the MongoHQ implementation doesn't re-use space as it should. I've been using MongoHQ directly rather than through the Heroku addon, and my workaround was just to drop the database and create a new one. Perhaps if you remove the addon and then add it again?
-Jason On Sep 14, 4:21 am, themire <[email protected]> wrote: > HI, > > I'm using Mongo in my app, just on a staging app at the minute and > have started getting a "db disk space quota exceeded" error when > trying to add documents to the database. > > Even though I've deleted all the documents when I try to add only a > hundred or so then gives the error. A couple of days ago I managed to > add 50 thousand or so documents without a problem so don't understand > now why I can only add a hundred or so. > > Does anyone have any idea why this might be happening? I have on Mongo > document which I delete using a delete_all. Any idea how I can get > statistics on usage would be good also to diagnose the problem. > > Thanks -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
