Closed tschaffter closed 3 months ago
iatlas-postgres
The issue was because of the memory limit set to the DB (500MB), not the iatlas-data
container.
Here are the container memory limits used successfully when I migrated the iatlas-data
project:
iatlas-postgres
: 500Miatlas-data
: 6GThe iAtlas data have been updated lately. The whole DB is expected to be 40-50 GB according to @andrewelamb .
Populating the DB now takes more than 1 hour, which is much more than last time I did it (20-30 min?). I had to interrupt the process because the machine became unresponsive.
Here are a glimpse into the memory usage, which is much larger than before. This is only a snapshot I observe and not a guarantee of the max memory usage.
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
ecee7c11e472 iatlas-data 0.00% 15.18GiB / 31.06GiB 48.89% 3.19GB / 3.15GB 55.4MB / 0B 9
83deafe2a5b1 iatlas-postgres 11.65% 7.787GiB / 31.06GiB 25.08% 3.13GB / 13.3MB 9.45GB / 55.8GB 8
The loading of the data took more than one hour and up to 22 GB of memory at some point (see previous comment).
@andrewelamb Would it be possible to create a sample of data, real or mock data, that developers could use when testing the iAtlas stack locally?
Definitely possible! It woudl just take some effort to create the mock data, or change schematic db to be able to take in a subset of the manifests.
Is there an existing issue for this?
What product(s) are you seeing the problem on?
iAtlas
Current behavior
The project iatlas-data was added in the #2411. At the time, I was able to successfully run the containerized application with the command shown below and in the Preview section of the PR.
I'm trying to run the same command today and it fails with the following error:
Expected behavior
The command should complete successfully.
Anything else?
No response
Commit ID
No response
Are you developing inside the dev container?
Code of Conduct