assertTrue(Pointer.DeallocatorReference.totalBytes >= (chunks - 1) * chunkSize * floatSize);
try {
fieldReference = pointers;
new FloatPointer(chunkSize);
fail("OutOfMemoryError should have been thrown.");
<BUG>} catch (OutOfMemoryError e) { }
for (int j = 0; j < chunks; j++) {</BUG>
pointers[j] = null;
}
fieldReference = null;

assertTrue(Pointer.DeallocatorReference.totalBytes >= (chunks - 1) * chunkSize * floatSize);
try {
fieldReference = pointers;
new FloatPointer(chunkSize);
fail("OutOfMemoryError should have been thrown.");
} catch (OutOfMemoryError e) {
System.out.println(e);
System.out.println(e.getCause());
}
for (int j = 0; j < chunks; j++) {
pointers[j] = null;
}
fieldReference = null;
