These days, I try to migrate data from mysql to postgres using pgloader. I encountered HEAP-EXHAUSTED-ERROR
and Socket error
.
For HEAP-EXHAUSTED-ERROR
, I have tried to reduce the batch size and workers, but it didn't work.
For EINTR (Interrupted system call)
, I am not sure the root cause.
Asked
Active
Viewed 590 times
0

Frank
- 83
- 8
1 Answers
1
I have tried to build pgloader using Clozure CL, and it seems to work. Maybe the CCL offers a better Garbage Collector. see Heap exhausted You can also try the docker image:
docker pull dimitri/pgloader:ccl.latest
This way works for both issues.

Frank
- 83
- 8