Skip to content
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

Unable to allocate 8.41 GiB for an array with shape (2258174000,) and data type int32 #86

Open
BudiZhu opened this issue Aug 24, 2022 · 0 comments

Comments

@BudiZhu
Copy link

BudiZhu commented Aug 24, 2022

I tried to match string with 1M rows dataset against 10M rows dataset. N Block I set 10:2000.
Error occured with message:
File "", line 164, in match_strings\n File "", line 623, in fit\n File "", line 461, in _fit_blockwise_manual\n File "c:\program files\python38\lib\site-packages\topn\awesome_topn.py", line 88, in awesome_hstack_topn\n r = np.concatenate([b.indptr for b in blocks])\n File "<array_function internals>", line 180, in concatenate\nnumpy.core._exceptions._ArrayMemoryError: Unable to allocate 8.41 GiB for an array with shape (2258174000,) and data type int32\n<traceback object at 0x0000028A1BC113C0>.

Any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant