On Dec 7, 11:18 am, Paul  Mooser <[EMAIL PROTECTED]> wrote:
> I also have this problem, unless I set my heap to be substantial -
> going up in increments of 128M, I need to have at least a 768M heap
> for this to not occur. That seems completely crazy, but the rest of
> you are saying you don't have this issue.

I am not seeing this problem. I set the heapsize down to 32M but
this still works.

[parth:~]% java -Xmx32M -cp /home/parth/src/clojure/clojure.jar
clojure.main
Clojure
user=> (nth (repeatedly (fn [] 0)) 10000000)
0
user=> (.maxMemory (Runtime/getRuntime))
33357824
user=> (nth (repeatedly (fn [] 0)) 100000000)
0
user=> (System/getProperty "java.version")
"1.6.0_07"
user=>

This is on debian.

Parth

>
> Maybe it's time to start looking at what platforms we are running, and
> how much memory you have the JVM configured to use? If people have
> their heap set to be large enough, they might not realize this is
> happening, or if it is a bug on a subset of platforms, then that might
> explain it as well.
>
> I'm running on OS X Leopard, and I've tried both the 1.5 and 1.6 JVMs.
> I don't normally pass any non-standard memory size arguments to the VM
> unless I expect I'll need it for something I'm doing.
--~--~---------~--~----~------------~-------~--~----~
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