Iteration 9 : Memory total=0x29960/170464 free=0x299e0/170400
  byte arrays with 32768 elements
  int arrays with 8191 elements
  1st array OK:
  2nd array OK:
  int arrays allocated OK
Iteration 10 : Memory total=0x11280/69984 free=0x11020/69536
  byte arrays with 32768 elements
  int arrays with 8191 elements
java.lang.OutOfMemoryError
No other stack trace info available.


TINI /> java HeapTest.tini "TINI390 512K " &
TINI390 512K  HeapTest 0.1c bboyes
At start: Memory total=0x49bc0/301664 free=0x498e0/301152
Iteration 0 : Memory total=0x49500/300000 free=0x492a0/299552
  byte arrays with 32768 elements
TINI />   byte array Test OK
  int arrays with 8191 elements
  1st array OK
  2nd array OK
  int arrays OK
  int array Test OK
Iteration 1 : Memory total=0x28780/165472 free=0x28520/165024
  byte arrays with 32768 elements
  byte array Test OK
  int arrays with 8191 elements
  1st array OK
java.lang.OutOfMemoryError
No other stack trace info available.

After a clean reboot -f

TINI /> java HeapTest.tini "TINI390 1.02e " &
TINI390 1.02e  HeapTest 0.1c bboyes
At start: Memory total=0x4c520/312256 free=0x4c240/311744
Iteration 0 : Memory total=0x4be60/310592 free=0x4bc00/310144
  byte arrays with 32768 elements
TINI />   byte array Test OK
  int arrays with 8191 elements
  1st array OK
  2nd array OK
  int arrays OK
  int array Test OK
Iteration 1 : Memory total=0x2b0e0/176064 free=0x2ae80/175616
  byte arrays with 32768 elements
  byte array Test OK
  int arrays with 8191 elements
  1st array OK
  2nd array OK
  int arrays OK
  int array Test OK
Iteration 2 : Memory total=0xa500/41952 free=0xa2a0/41504
  byte arrays with 32768 elements
  byte array Test OK
  int arrays with 8191 elements
  1st array OK
  2nd array OK
  int arrays OK
  int array Test OK
Iteration 3 : Memory total=0x2bf20/179712 free=0x2bcc0/179264
  byte arrays with 32768 elements
  byte array Test OK
  int arrays with 8191 elements
  1st array OK
  2nd array OK
  int arrays OK
  int array Test OK
Iteration 4 : Memory total=0xb4e0/46016 free=0xb280/45568
  byte arrays with 32768 elements
java.lang.OutOfMemoryError
No other stack trace info available.

There is a good deal of variability regarding when the test might fail:
Iteration 43 : Memory total=0x12860/75584 free=0x12600/75136
  byte arrays with 32768 elements
  1st array OK
  2nd array OK
  byte array Test OK
  int arrays with 8191 elements
  1st array OK
  2nd array OK
  int array Test OK
Iteration 44 : Memory total=0xb020/44800 free=0xadc0/44352
  byte arrays with 32768 elements
java.lang.OutOfMemoryError
No other stack trace info available.