This particular limit error is telling you that
you have exceeded the addressability on a 32 bit
system.  In J each integer requires 4 bytes, so
the array  1e5 1e5 $ 2  would have required 4e10
bytes.

If you need to process large arrays, it is best
to use J64, the 64-bit version of J, available
for Windows or Linux.  You should also investigate
the $. sparse array facility in case your large
arrays are sparse.

And, greetings, Michael.  It's been years.
Happy J-ing.



----- Original Message -----
From: Michael Berry <[EMAIL PROTECTED]>
Date: Wednesday, December 13, 2006 1:28 pm
Subject: [Jprogramming] limit errors

> Is the limit error that I get when I try, for example  
> 
>      too_big =. 1e5 1e5 $ 2
> 
> telling me something about
> 
> a) the memory on my particular machine
> b) a limit due to using Windows on a 32-bit architecture
> c) a limit I could change if I knew how
> c) an actual limit in J ?

> 
> And, relatedly, what is the recommended hardware/software 
> environment for
> running J programs that want to process very large arrays?
> 
> (I am writing my very first application in J. Now that I have it 
> working on
> toy problems on my laptop, I want to try it out on more realistic 
> ones.)


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

Reply via email to