Björn Helgason wrote:
> Interesting
>
> I tested your testmemory with 10000 as your excamle shows
> at 2137 the system went into a spin and it took some time to kill the J
> session
>
> With 1000 it went fine
>
> testjmf is now spinning at 141 and using a lot of memory so I stopped it
>
> changed to
> f=:''
>
> and
> smoutput i, 6!:2 'f=:f,":i.1e4'
>

Thanks for your quick response.  I did some tests on Windows to ensure I
was not observing OS artifacts, but I am mainly using jconsole on Linux
under emacs.  I am surprised you run into memory problems with testjmf.

Part of my interest in jmf files is their low memory use.  When I run
testjmf, my main memory usage never goes above a relatively modest amount,
while with testmemory, it skyrockets, but has better performance.  I am
prepared to trade speed for memory, but not if I get O(n^2) performance.

Best wishes,

John

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to