Dear Petia,

this looks a lot like you run out of working memory (RAM) on your machine. You can check the memory consumption by adding

print('Memory before Simulate():', nest.ll_api.sli_func('memory_thisjob')

right before your call Simulate(). The printed number is in kiB

I am afraid that we can’t do much else for you here.

Best regards,

On 15.01.21 11:07, Petia Koprinkova wrote:

We have encountered the following error:

Traceback (most recent call last):

File "", line 364, in <module>


File "/opt/soft/nest-2.18.0/lib64/python3.6/site-packages/nest/", line 246, in stack_checker_func

return f(*args, **kwargs)

File "/opt/soft/nest-2.18.0/lib64/python3.6/site-packages/nest/lib/", line 66, in Simulate

sr('ms Simulate')

File "/opt/soft/nest-2.18.0/lib64/python3.6/site-packages/nest/", line 132, in catching_sli_run

raise exceptionCls(commandname, message)

nest.ll_api.C++Exception: ('C++Exception in Simulate_d: std::bad_alloc', 'C++Exception', <SLILiteral: Simulate_d>, ': std::bad_alloc')

Could you help to resolve it?

Best regards,
Petia Koprinkova-Hristova

NEST Users mailing list --
To unsubscribe send an email to

Dr. Jochen Martin Eppler
Phone: +49(2461)61-96653
Simulation Laboratory Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation

Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt