Would you mind changing the declarations below to omit the "final"
and make the constant a variable, so this can be easily set at run time.
For that matter, is there any reason to have this at all - wouldn't a
java exception get the message across adequately?
public static final int ARRAY_DIMENSION_MAX = 0x4000000;
// ### array-dimension-limit
On May 8, 2007, at 7:45 PM, Peter Graves wrote:
> On Tue, 8 May 2007 at 15:51:19 -0600, Alan Ruttenberg wrote:
>> Is there any fundamental reason why it is at the value it is
>> currently at (16M).
>> Some code I have ran up against the limit. I'm sure I can work around
>> it, but I thought I would first check whether
>> the setting could be moved. I think I would move it, for the moment
>> to 64M.
> I believe it was a completely arbitrary decision.
> You should be able to increase it as long as you have enough Java
> You might also want to adjust ARRAY_DIMENSION_MAX in Lisp.java.