twenty icon indicating copy to clipboard operation
twenty copied to clipboard

High memory usage while running migrations in the Docker-compose

Open Freebios opened this issue 10 months ago • 1 comments

Bug Description

In order to run Twenty using docker-compose, we must run migrations and seeding of the database on the first run. This leads to a high memory usage of about 1.5GiB.

One explanation could be the installation of additional dependencies using yarn as recommended in the Docker doc https://docs.twenty.com/start/local-setup/docker-setup#step-4-migrate--seed

Expected behavior

It would be nice to be able to reduce this in order to be able to run the docker-compose on smaller HW configs

Technical inputs

We could check what dependencies are missing and include them in the prod dependencies of twenty-server

Freebios avatar Apr 03 '24 08:04 Freebios

Hi @Freebios Do you know of any expected date to solve this issue?

amitoo7 avatar Apr 24 '24 19:04 amitoo7