Question
How can I resolve the error "Failed to download report data: Unexpected error" in IDE Services?
Answer
This issue can occur when the IDE Services application server does not have enough memory to compress report files for download. In the investigated case, the server memory was below the recommended minimum, and the JVM heap size in the Docker container also needed to be increased.
Resolution steps:
- Update the Docker configuration:
- Set the container memory limit to at least 6 GB.
- Set the JVM heap limit to 4 GB with the environment variable
JAVATOOLOPTIONS=-Xmx4g.
- Restart the IDE Services container.
- Check the startup logs and confirm the maximum JVM heap memory is 4 GB or higher, for example:
Max Memory: 4096mb. - Clear the browser cache.
- Try downloading the report again.
If the issue persists, collect a HAR file to capture browser activity during the failed download attempt for further investigation.
Comments
0 comments
Please sign in to leave a comment.