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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.