Skip to content

Memory error when working in Docker #849

Answered by hvbtup
grigoryaleksanyan asked this question in Q&A
Discussion options

You must be logged in to vote

Just to be sure: How do you check the amount of memory used?

Note that Java will normally not give back memory to the OS even if it is no longer needed after a GC.
The JVM args -XX:MaxHeapFreeRatio and -XX:MinHeapFreeRatio can help.

But your message looks like it is indeed a problem of not enough heap memory in the JVM.
I'm not using the viewer app (instead I'm using a self-made "BIRT server app"), but I can hardly imagine this is a BIRT problem.
Maybe it is the data that you supply to BIRT which is not freed?
Or the data is cached (well, BIRT uses caching AFAIK, but I'm not enough of an expert here)?

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@grigoryaleksanyan
Comment options

@hvbtup
Comment options

hvbtup Mar 7, 2022
Collaborator

Answer selected by grigoryaleksanyan
@grigoryaleksanyan
Comment options

@grigoryaleksanyan
Comment options

Comment options

You must be logged in to vote
2 replies
@grigoryaleksanyan
Comment options

@grigoryaleksanyan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants