[xwiki 13.10.2][docker][docker-compose]OutOfMemoryError: Java heap space

Hello,
I’m using xwiki through docker compose.
I try to load a ~200MB xar file in the import screen…but the logs says :
2022-07-04 06:57:36,491 [http-nio-8080-exec-4 - http://147.99.103.141:9090/bin/upload/XWiki/XWikiPreferences] WARN c.x.x.w.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception

com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
[…]
Caused by: java.lang.OutOfMemoryError: Java heap space

I can load a xar file around 50MB.

Is there a way to configure tomcat to run the JVM with more space, through the docker-compose file?

Thank youfor your help

Gérald

Yes, see xwiki-docker/README.md at master · xwiki/xwiki-docker · GitHub, you can use the JAVA_OPTS environment variable and define a larger Xmx value.

nice.
thank you for your help