Bulk import fails with coredump, 'mgvMemoryAlloc' errors
- Product: Voyager
- Relevant for Installation Type: Local
Problem Symptoms
Start a bulk import at command line and receive following:
bulkimport started. Reports will be in /m1/voyager/xxxdb/rpt.
Bulkimport Process id: NNNN
terminate called after throwing an instance of 'mgvMemoryAlloc'
/tmp/Pdobulkimport.20181210.0810.6259: line 2: MMMM: Abort(coredump)
Cause
Import file is too large / insufficient memory on server to handle file's size
Resolution
Split the file into multiple imports using the -b and -e parameters. Recommended import size is 10,000 or fewer records per process.
See also: How many records can be imported at a time using bulkimport?
When a load fails part way through, the last record ID that the log says was created was, in fact, NOT created, so you need to be sure to include that record in the re-reload).
- Article last edited: 10-Dec-2018