Error_: unexpected error std::bad_alloc

Hi,

I started to implement a professional network and I try to insert millions of relationships using GSQL but I have an issue : error_: unexpected error std::bad_alloc.

Does anyone have a solution to solve my problem ?

Thanks,

Maxime

Hi, bad_alloc means the memory is not enough. TigerGraph dev edition only has in memory mode, so you need to make sure the memory is enough for your data and query.

hello
how to correct this error?