Hi
I love Clojure ,but Clojure sucks a lot of memory and that frustrates
me !
I am looking forward to find a way to put mutability in my code the
same way i put immutable data structures.
For example imagine ~[ 1 2 3 4 ] to be mutable vector and every
semicolon that have this ~ in front to be
I love Clojure ,but Clojure sucks a lot of memory and that frustrates
me !
I seriously doubt the memory bloat is due to the immutable structures.
During a fast inner loop that is allocating tons of structures, you
may see a little memory bloat, but that's only until the GC catches
up. I'm
On Fri, Jul 8, 2011 at 3:02 PM, Timothy Baldridge tbaldri...@gmail.com wrote:
I love Clojure ,but Clojure sucks a lot of memory and that frustrates
me !
In addition to all this, remember that GC's don't instantly free
memory. So if for a instance memory balloons up to 300MB, many times
the JVM
I love Clojure ,but Clojure sucks a lot of memory and that frustrates
me !
I am looking forward to find a way to put mutability in my code the
same way i put immutable data structures.
For example imagine ~[ 1 2 3 4 ] to be mutable vector and every
semicolon that have this ~ in front to be
Sorry ,I just guessed that the fault is in immutability
I read about for clojure performance tips
http://gnuvince.wordpress.com/2009/05/11/clojure-performance-tips/
but i feel it is not enough.
On Jul 8, 11:02 pm, Timothy Baldridge tbaldri...@gmail.com wrote:
I love Clojure ,but Clojure
Have you profiled your code to determine where the performance
bottlenecks really are?
In Java applications, even large amounts of transient memory usage are
not indicative of performance problems - that's kind of the point with
automatically managed memory and garbage collection systems...
Sean
Thanks I will try profiling the code
On Jul 9, 12:12 am, Sean Corfield seancorfi...@gmail.com wrote:
Have you profiled your code to determine where the performance
bottlenecks really are?
In Java applications, even large amounts of transient memory usage are
not indicative of performance