【发布时间】:2020-05-11 07:07:26
【问题描述】:
我正在尝试从生产中恢复 postgresql 备份。
当我运行 pg_restore 时,表已创建,但在尝试插入数据时进程失败。内存不足。
pg_restore: processing data for table "public.annotations"
pg_restore(39098,0x10f25b5c0) malloc: can't allocate region
mach_vm_map(size=18446744073441116160) failed (error code=3)
pg_restore(39098,0x10f25b5c0) malloc: *** set a breakpoint in malloc_error_break to debug
out of memory**
备份大小只有 29 MB。我怎样才能使恢复工作?
【问题讨论】:
标签: postgresql heroku psql pg-restore