VPF Keeps too many files open

Description

When working with extremely large data sets (like VMap0 with ~65000 files) the VPF data store keeps all files that have been accessed open in the VPFFileFactory (basically a file cache). This can cause IOExceptions indicating that "too many files are open" which results in failure to access the rest of the data.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:00 PM

CodeHaus Comment From: jmeagher - Time: Tue, 12 Apr 2005 09:40:28 -0500
---------------------
Hacky patch to fix this problem. This has a timer on each open file that automatically closes it if it hasn't been accessed for a little while. When the file is closed and is accessed it reopens the file to the same place it was before.

codehaus
April 10, 2015, 3:00 PM

CodeHaus Comment From: jmeagher - Time: Tue, 12 Apr 2005 09:45:16 -0500
---------------------
Note: The attached patch is against 2.1.M3.

codehaus
April 10, 2015, 3:00 PM

CodeHaus Comment From: jyutzler - Time: Fri, 14 Aug 2009 16:58:40 -0500
---------------------
While changes in Geotools caused may regressions in the VPF code, they seem to have fixed this problem.

codehaus
April 10, 2015, 3:00 PM

CodeHaus Comment From: aaime - Time: Sun, 28 Nov 2010 02:56:18 -0600
---------------------
Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

High
Configure