typedb-osi / typedb-bio

TypeDB Bio: Biomedical Knowledge Graph
73 stars 30 forks source link

Transaction timeout when trying to upload example with migrator.py #27

Closed izmalk closed 1 year ago

izmalk commented 1 year ago

Whenever I try to load DB into TypeDB with migrator.py I get typedb.common.exception.TypeDBClientException: [SRV28] Invalid Server Operation: Transaction exceeded maximum configured duration of '300' seconds. error.

I have tried the following command variations:

python3 migrator.py 
python3 migrator.py -n 4
python3 migrator.py -n 4 --commit_batch=10
python3 migrator.py -n 1 --commit_batch=1

Sometimes (usually when I launch without -n option) it freezes for a long time with some huge memory consumption.

dump_java_bio.txt dump_python_bio.txt message.txt 111

This issue has been discussed at https://discord.com/channels/665254494820368395/983768109594841160/1055114273329778778