I have just tried to reproduce a similar case on a system running Mac OS X 10.13.6, Oracle/Apple Java 1.8.0_192, Clojure 1.9.0, and Leiningen 2.8.3, and a directory containing 1400 files. I did not see the error you did.
What versions of OS, Java, Clojure, and anything on top of Clojure (e.g. Leiningen) are you using? If you are using Leiningen, what is the contents of your ~/.lein/profiles.clj and project.clj files, if any? Some add-on plugins that modify what is shown in the REPL, e.g. that auto-pretty-print results, can have errors parsing some input, or printing some output, even if Clojure by itself has no problems. If you can reproduce your problem using a `clj` command line that avoids using Leiningen, for example, that would help determine whether it is caused by something in your Leiningen setup, vs. elsewhere. Andy On Mon, Dec 24, 2018 at 1:12 PM nenad mitrovic <nenadmitrovi...@gmail.com> wrote: > I am trying to execute this piece of code: (rest (file-seq (file (str > "corpus/" "ham"))). > When I execute I get this error: "error in process filter: Stack overflow > in regexp matcher". > I have 1400 files in corpus/ham folder. But when I execute only three file > it works. > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.