Thanks I will try profiling the code
On Jul 9, 12:12 am, Sean Corfield 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 problems - that's kin
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
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 wrote:
> > I love Clojure ,but Clojure sucks a lot of memory
> 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 t
On Fri, Jul 8, 2011 at 3:02 PM, Timothy Baldridge 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 (or CLR) will no
> 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 pre
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 mu