csaude / beehive

Merges two OpenMRS database instances into one.
MIT License
0 stars 0 forks source link

Beehive memory leaks??? #2

Open JPboane opened 4 years ago

JPboane commented 4 years ago

Merging Mocuba database, after several hours (more that 48 hours) , beehive crashed due the error "Last few GCs". The error was raised doing the UUID duplication hunting on OBS table. This is a huge table which has something like 85.679.586 records in destination database. The source table has 17.533.213 records. log_mocuba.log

mhawila commented 4 years ago

Yes this is a memory problem See Try running with nodejs version 10 instead. Also we use JIRA for problem reporting.

JPboane commented 4 years ago

I run it with --max-old-space-size=4096 and after 33 hours failed again due memory allocation issue