core dump when generating PLAN file

Hi,

Jetson Nano reports core dump when generating PLAN files, in fact I have successfully generated PLAN files many times using the same caffe model file and same code

The issue happens after below codes are executed

const nvcaffeparser1::IBlobNameToTensor* blobNameToTensor = parser->parse(proto_file.c_str(), model_file.c_str(), *network, nvinfer1::DataType::kFLOAT);

The issue is as below:

terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted

it is urgent for us, please help to check it

Hi,

Your memory usage may be on the edge. That is exactly the error given when running out of memory.
Thanks.