unfortunately I get the following error message when trying to export an annotation project:
"unexpected error during project export app_1 | java.lang.outofmemoryerror: java heap space."
The export process starts normaly, but slows down and after a while, the error message pops up. I'm running Inception using docker-compose, as sugggested in the admin guide. My docker compose file looks like follows:
##
# docker-compose up [-d]
# docker-compose down
##
version: '2.2'
networks:
inception-net:
services:
db:
image: "mariadb:10.5"
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=inception
- MYSQL_USER=${DBUSER:-inception}
- MYSQL_PORT=3306
- MYSQL_PASSWORD=${DBPASSWORD:-inception}
volumes:
- ${INCEPTION_DB_HOME:-db-data}:/var/lib/mysql
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-p${DBPASSWORD:-inception}", "-u${DBUSER:-inception}"]
interval: 20s
timeout: 10s
retries: 10
networks:
inception-net:
app:
image: "${INCEPTION_IMAGE:-inceptionproject/inception}:${INCEPTION_VERSION:-0.19.3}"
ports:
- "${INCEPTION_PORT:-8080}:8080"
environment:
- INCEPTION_DB_DIALECT=org.hibernate.dialect.MariaDB103Dialect
- INCEPTION_DB_DRIVER=org.mariadb.jdbc.Driver
- INCEPTION_DB_URL=jdbc:mariadb://db:3306/inception?useSSL=false&useUnicode=true&characterEncoding=UTF-8
- INCEPTION_DB_USERNAME=${DBUSER:-inception}
- INCEPTION_DB_PASSWORD=${DBPASSWORD:-inception}
- JAVA_OPTS=-Dspring.jpa.properties.hibernate.dialect.storage_engine=innodb
volumes:
- ${INCEPTION_HOME:-/srv/inception/app-data}:/export
depends_on:
db:
condition: service_healthy
mem_limit: 1g
memswap_limit: 1g
restart: unless-stopped
networks:
inception-net:
volumes:
app-data:
db-data:
Thank you very much for your help and best regards.