I'm also running into, what I believe to be, the same problem.  Every
time I run the following code I get "java.lang.OutOfMemoryError: Java
heap space".

(use 'clojure.contrib.duck-streams)
(count (line-seq (reader "big.csv")))

If I change "count" to "dorun" then it will return without problem.

I uploaded a file called bigcsv.zip which contains the big.csv file.
As Gilardi pointed out to me in #clojure a text file with a million
line feeds would probably have sufficed too, but I already uploaded it
so take your pick.



--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to