in reply to out of memory! (again!)

check the array indexes you are using:

Something similar to:

$a[2**29] = 1;
causes an out of memory error (on most 32bits systems).

Replies are listed 'Best First'.
Re^2: out of memory! (again!)
by rhesa (Vicar) on Sep 04, 2007 at 18:31 UTC
    based on that hint, line 169:
    $crosslevel[$endlevel++];
    should probably read:
    $crosslevel[$endlevel]++;