I have error java.lang.OutOfMemoryError: Java heap space, when step maven build run. I have testcontainer and use postgres image. Some tests pass but in one moment error is java.lang.OutOfMemoryError: Java heap space.
I try to set in definitions
services:
docker-with-large-memory:
memory: 5120
type: docker
and then in my step for build maven set
size: 2x
services:
- docker-with-large-memory
but it doesn't work. Can anybody now what i need to do?
Welcome to the Atlassian Community!
You will need to either increase the maximum size of the heap, or look into your build process to see what is consuming so much memory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.