FileNotFoundException: File too large (Doc ID 1180936.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.5 - Release: 10.1 to 10.2
Information in this document applies to any platform.

Symptoms

Java Stored Procedure that reads a large file (2GB or more) fails with:
FileNotFoundException: File too large

Changes

1. Tested with different sizes, the problem is only seen with files that are 2GB or more.
2. The same code works fine when running on standalone JDK. This only fails from within the Oracle JVM.
3. Testing using jdbc thin connection, this problem is not seen.
4. Verified that JVM is fully installed and VALID.

Cause

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