[
https://issues.apache.org/jira/browse/ODE-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Terry Mueller updated ODE-826:
------------------------------
Attachment: ODE-826.patch
Currently, the FileInputStream.finalizer() is used to close files. The attached
patch uses a new method StreamUtils.toInputStream() to read the contents of the
file into memory and then provide a ByteArrayInputStream for the InputSource
instead.
The following command was run repeatedly during compilation to see the open
files were reduced:
ls -l /proc/23621/fd | egrep -v -e "(jar|socket|pipe|dev|mar|inode|access_log)"
where 23621 is the process id.
> Too many open files
> -------------------
>
> Key: ODE-826
> URL: https://issues.apache.org/jira/browse/ODE-826
> Project: ODE
> Issue Type: Bug
> Components: BPEL Compilation/Parsing
> Affects Versions: 2.0-beta2
> Environment: trunk
> Reporter: Terry Mueller
> Attachments: ODE-826.patch
>
>
> We have a common set of 64 xsd files that are included by each of 50+ BPEL
> processes. The following error is sometimes reported when recompiling all
> BPEL processes:
> Recoverable error on line 1
> FODC0002: java.io.FileNotFoundException:
> foo.xml (Too many open files)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.