On Tue, Oct 12, 2010 at 6:41 AM, Moritz Ulrich <[email protected]> wrote: > Regarding your error: Maybe you open too many sockets which don't get > closed and your process runs out of file descriptors.
Yes, I think that's the problem. I found a blurb on the net about how to expand the range of usable ports for sockets, but instead I went the route of writing my documents in batches of 50 as both of you suggested. This didn't entirely solve the problem, but it definitely helped and I was able to get much further. But after entering about 2,000,000 small documents, the database size was nearing 4GB and couch seemed to really crawl to add new documents. I like couch's ease-of-use alongside Clojure, but I think I need something that isn't quite so space-hungry and remains fast for largish collections. So I'm thinking I'm going to have to punt on couch db. Any other tips on what I might be doing wrong, or does this sound typical? Thanks, Mark -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
