gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Jython memory inefficiency [Was: Re: [Gzz] 28th-29th (jvk)]


From: Tuomas Lukka
Subject: Re: Jython memory inefficiency [Was: Re: [Gzz] 28th-29th (jvk)]
Date: Wed, 30 Oct 2002 19:23:16 +0200
User-agent: Mutt/1.4i

> The code is executed 8 times for each of the key presses.
> 
> When the thrashing begins, java process memory size grows from
> about 180M to 930M. After that, I can press keys 6400 times
> while memory size grows to about 1050M. Then, I get
>       
>       Out of Memory
>       You might want to try the -mx flag to increase heap size
> 
> I'm using Sun's j2sdk1.4.1_01.
> 
> Any ideas?

Write that part of the code in Java? Jython isn't meant for that kind
of heavy number / string crunching. It's a glue language.

        Tuomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]