My Oracle Support Banner

FileNotFoundException: File too large (Doc ID 1180936.1)

Last updated on AUGUST 04, 2018

Applies to:

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


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


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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.