[Jprogramming] J's limit on space

David Vaughan purpleblues13 at googlemail.com
Tue Oct 11 02:26:59 HKT 2011


On a related note, I think there's a bug in the Mac version of j701. It doesn't seem to recognise when it has run out of memory and brings my system to a crawl.

This has happened with operations involving data thats starts off as something like i.1e10, which on its own is considerably less than 2^62.

On 10 Oct 2011, at 19:12, Björn Helgason wrote:

> 9!:20
> 9!:21 *Memory Limit*. An upper bound on the size of any one memory
> allocation. The memory limit is initially 2^30 on 32-bit systems and 2^62 on
> 64-bit systems.
> It is probably more valuable to describe what you want to do and there
> usually are various ways of solving your task.
> 
> It is often faster to handle a lot of data in one operation
> 
> 
> 2011/10/10 David Vaughan <purpleblues13 at googlemail.com>
> 
>> Hi, I was curious about the space limit J has for its arrays, and ways this
>> can be worked around. In some cases, you may want to do something equivalent
>> to a loop in C that runs many many times, which I would only know to do in J
>> by listing all the items and then performing a verb on them. Is there any
>> other approach?
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
> 
> 
> 
> -- 
> Björn Helgason, Verkfræðingur
> Fornustekkum II
> 781 Hornafirði,
> t-póst: gosinn at gmail.com
> gsm: +3546985532
> twitter: @flugfiskur
> http://groups.google.com/group/J-Programming
> 
> 
> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> 
> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>          /|_      .-----------------------------------.
>         ,'  .\  /  | Með léttri lund verður        |
>     ,--'    _,'   | Dagurinn í dag                     |
>    /       /       | Enn betri en gærdagurinn  |
>   (   -.  |        `-----------------------------------'
>   |     ) |         (\_ _/)
>  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>   `. )----'        (")_(") ☃☠
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list