-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Index._engine creates cyclic reference #27585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cyclic references are very natural in python; have a destructor thru |
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Jul 25, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Jul 25, 2019
5 tasks
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Jul 29, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Jul 29, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Jul 30, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Jul 31, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Aug 2, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Aug 5, 2019
crepererum
added a commit
to crepererum/pandas
that referenced
this issue
Aug 5, 2019
TomAugspurger
pushed a commit
that referenced
this issue
Aug 8, 2019
5 tasks
quintusdias
pushed a commit
to quintusdias/pandas_dev
that referenced
this issue
Aug 16, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code Sample, a copy-pastable example if possible
Problem description
The (indirect) call to
idx._engine
creates a cyclic reference, therefore indices are not removed without calling the GC:On certain payloads (e.g. on
dask.distributed
clusters), this might increase memory consumptions significantly.Expected Output
Index is cleared on
del idx
call.Output of
pd.show_versions()
INSTALLED VERSIONS
commit : None
python : 3.6.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.9.125-linuxkit
machine : x86_64
processor :
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 10.0.1
setuptools : 39.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
The text was updated successfully, but these errors were encountered: