Here is the code:
rd.open_session()
data = rd.get_history(universe=['4295856055', '4295856249', '4295856359', '4295856557', '4295857081'],
fields=['TR.F.EPSDilExclExordItemsNormTot(Period=LTM)'],
interval='1D', start='2005-01-01', end='2022-04-20')
rd.close_session()
When I launch it in Jupyter Notebook, it shows the following error:
MemoryError: Unable to allocate 26.7 GiB for an array with shape (3587076645,) and data type int64
I am sure that 26.7 GiB is more than this dataset produces.
How can I resolve this issue?