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
