Note also that "error" can be thought of as "leaving room for whatever
happens in the future".

Thanks,

-- 
Raul


On Thu, Jul 10, 2014 at 10:04 PM, Don Guinn <[email protected]> wrote:

> A good solution. I was concerned on how to avoid those who were using
> MemoryLimit as a power of 2 already. Perhaps you should set the limit to
> more than 100. Perhaps 1000 or even more. The smallest value(9!:21) will
> take is 2^17 or 65536. 2^100 seems like a ridiculously large number but
> IBM's System 38 had 72 bit addressing and that was over 30 years ago.
> Granted, the hardware only handled 2^24, but the next 24 were like segment
> registers and the top 24 were a sequence number to avoid duplication. 64
> bit addressing is now commonplace. Multi-terabyte disks may become address
> extensions. IP addresses are now 64 bit. What if terabyte disks became
> extensions to this address? Who knows?
>
> My point is that it costs nothing to set the cutoff anywhere below 2^17
> leaving room for whatever happens in the future.
>
>
> On Thu, Jul 10, 2014 at 4:56 PM, chris burke <[email protected]> wrote:
>
> > Agreed, I will make the change.
> >
> > The definition has been that way (power-of-2) for years, but it is easy
> to
> > support both. A number < 100 is a power, and otherwise it is the memory
> in
> > bytes.
> >
> >
> > On Thu, Jul 10, 2014 at 3:09 PM, Don Guinn <[email protected]> wrote:
> >
> > > Now that J8.02 is officially released, I guess this is where to report
> > > installation problems. To bad I didn't report it earlier.
> > >
> > > In system/util/configure.ijs, line 71 MemoryLimit from config/base.cfg
> is
> > > handled.
> > >
> > > I wanted to limit J's memory to about 1G, so I set MemoryLimit to 1e9
> to
> > > prevent J from excessive paging. As in as described for (9!:21) and
> works
> > > as described:
> > >   9!:21]1e9
> > >   9!:20 ''
> > > 1073741824
> > >
> > > But the expression on that line expects MemoryLimit to be a number to
> > raise
> > > 2 to, in my case, 30. The comments as the top of base.cfg imply that
> > > MemoryLimit should be as described for (9!:21).
> > >
> > > Either the comment needs to be changed or simply change line 71 to:
> > >    9!:21 MemoryLimit
> > >
> > > (9!:21) rounds up its argument to the next power of 2, so there is no
> > need
> > > to go to all the trouble to make sure that the number passed is a power
> > of
> > > 2. I suggest changing line 71 as people think in terms of how much
> memory
> > > they want, not having to convert it to a power of 2.
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to