hombit / mesa2py

Yet another Python binding to MESA
0 stars 1 forks source link

failed trying to allocate eos eos_handle #3

Closed AndreyTavleev closed 4 years ago

AndreyTavleev commented 4 years ago

При создании кучи структур (в цикле у меня 34 штуки) вылетает сия ошибка.

hombit commented 4 years ago

A sample code reproduces the issue

>>> from opacity import Opac
>>> ops = []
>>> for i in range(1 << 10):
...     print(i)
...     ops.append(Opac('solar'))
...
0
1
2
3
4
5
6
7
8
9
10
 failed trying to allocate eos eos_handle
STOP 1