Hi Matthias,
We tried to open a huge OASIS file(more than 3GB), and it showed
the following message, could you please help to figure out how
to solve it ? thanks.
Error message:
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Best Regards,
--
chi-hsiang-hung
Comments
Hi,
the message basically says that the process went out of memory. I assume that you are using a 32bit executable which is limited to allocate a maximum of 4G memory. Please try to build a 64bit version. This should not exhibit this problem. I guess you will need a system with around 16G physical memory.
If you already have a 64bit executable, please check if on your system a limit for the maximum process size is set ("limits -a").
Best regards,
Matthias
You are right, although we are running 64bit version of klayout, however
we forgot to check the maximum memory limit of process, really appreciate
for your hint and kindly support, thanks.
Best Regards,
--
chi-hsiang-hung