Hello,

I'm trying to insert in a database large number of records, however
it's not scaling correctly. For 100 records it takes 10 seconds, for
1000000 records it takes 2 min to save. But for 2500000 records it
throws Java Heap out of memory exception.

I've tried separting the records processing and the actual batch save.
Just processing the 2500000 records in memory it take 30 seconds. With
batch insert it throws the above exception. I don't understand why
saving to a database it creates more Java Heap space.

Any ideas would be appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to