JRockit 8.x - Linux 32 - File size limit exceeded (Doc ID 773498.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 8.1
Information in this document applies to any platform

Goal

DESCRIPTION:


The following program will exit when the size of the file created exceeds 2 GB.

import java.io.*; 
public class FileTest { 
public static void main( String args[] ) throws Exception { 
byte buf[] = new byte[4096]; 
BufferedOutputStream out = new BufferedOutputStream( new FileOutputStream("big.txt") ); 
while( true ) { out.write( buf ); } 
}
 } 

CONFIGURATION:
JRockit 8.1 SP1
Linux 32

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms