Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverages containing large data might lead to an OutOfMemoryError #130

Open
dstenger opened this issue Aug 28, 2023 · 0 comments
Open

Coverages containing large data might lead to an OutOfMemoryError #130

dstenger opened this issue Aug 28, 2023 · 0 comments
Assignees

Comments

@dstenger
Copy link
Contributor

Test run via Web Browser Interface never ends (progress page stays).
Stack trace in log file:

2d9a80> Exception in thread "Thread-3" java.lang.OutOfMemoryError: Java heap space
2d9a80> 	at java.util.Arrays.copyOf(Arrays.java:3332)
2d9a80> 	at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
2d9a80> 	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
2d9a80> 	at java.lang.StringBuffer.append(StringBuffer.java:270)
2d9a80> 	at org.apache.xerces.dom.DeferredDocumentImpl.getNodeValueString(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.DeferredDocumentImpl.getNodeValueString(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.DeferredTextImpl.synchronizeData(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.CharacterDataImpl.getNodeValue(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at org.apache.xerces.dom.ElementImpl.normalize(Unknown Source)
2d9a80> 	at com.occamlab.te.CtlEarlReporter.generateEarlReport(CtlEarlReporter.java:135)
2d9a80> 	at com.occamlab.te.TECore.execute(TECore.java:359)
2d9a80> 	at com.occamlab.te.TECore.run(TECore.java:2505)
2d9a80> 	at java.lang.Thread.run(Thread.java:748)

It seems that the problem occurs during generation of EarlReport.
Root cause is most likely that the log files contain data which are referenced in GetCoverage responses making the files quite large.

Can currently be reproduced with http://conformance.rasdaman.com/rasdaman/ows?service=WCS&version=2.0.1&request=GetCapabilities.

@dstenger dstenger added this to CITE Aug 1, 2024
@dstenger dstenger moved this to To do in CITE Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants