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

```python
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,
Jochen!


On 15.01.21 11:07, Petia Koprinkova wrote:
We have encountered the following error:

Traceback (most recent call last):

File "all_v2.py", line 364, in <module>

nest.Simulate(sim_time)

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

return f(*args, **kwargs)

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

sr('ms Simulate')

File "/opt/soft/nest-2.18.0/lib64/python3.6/site-packages/nest/ll_api.py", 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 -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org
-- 
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
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------