Large memory access from java