Re: newbie python/clojure and java.lang.OutOfMemoryError: Java heap space

2010-01-30 Thread Alex Osborne
Francis Lavoie writes: > (filter even? (range 10)) > > What's puzzle me is that past at certain number (10 millions), clojure > chocks and throw a «java.lang.OutOfMemoryError: Java heap space», > 1. Why does it happen? The JVM puts a limit on the amount of memory that can be used. This is usual

Re: newbie python/clojure and java.lang.OutOfMemoryError: Java heap space

2010-01-28 Thread Richard Newman
What's puzzle me is that past at certain number (10 millions), clojure chocks and throw a «java.lang.OutOfMemoryError: Java heap space», continue for a while and stop before completing the sequence. The JVM puts a limit on the amount of memory that will be allocated. Try adding -Xmx512m to you