OOME in GmlLoader with large GML Files #1634
Labels
bug
error issue and bug (fix)
needs discussion
TMC discussion
to be discussed by technical management committee members
tools
deegree command line tools (CLI)
Importing large GML files can result in an OutOfMemory error.
Iterating over a StreamFeatureCollection with
and enabling logging of the gc (
-verbose:gc
) results in the following log:Memory increases by ~38M per 5000 features.
In
deegree3/deegree-core/deegree-core-base/src/main/java/org/deegree/gml/reference/GmlDocumentIdContext.java
Lines 118 to 123 in d710e18
all features are kept in the GmlDocumentIdContext and cannot be cleaned up by the gc.
The text was updated successfully, but these errors were encountered: