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

create_scalar_index fails due to resources exhausted #2650

Closed
wpjgit opened this issue Jul 27, 2024 · 1 comment
Closed

create_scalar_index fails due to resources exhausted #2650

wpjgit opened this issue Jul 27, 2024 · 1 comment

Comments

@wpjgit
Copy link

wpjgit commented Jul 27, 2024

data:https://github.com/cwida/duckdb-data/releases/download/v1.0/lineitemsf1.snappy.parquet
convert to lance

dataset = lance.dataset('D:\\opt\\duckdb\\data\\lineitem.lance')
dataset.create_scalar_index("l_shipdate", "BTREE")
File "D:\code\test-python\langchain-test\lance_test\lance_query.py", line 109, in <module>
   dataset.create_scalar_index("l_shipdate", "BTREE")
 File "D:\python-env\langchain-test\Lib\site-packages\lance\dataset.py", line 1232, in create_scalar_index
   self._ds.create_index([column], index_type, name, replace)
OSError: LanceError(IO): Execution error: LanceError(IO): Resources exhausted: Failed to allocate additional 28952 bytes for ExternalSorterMerge[0] with 104835192 bytes already allocated - maximum available is 22408, D:\a\lance\lance\rust\lance-datafusion\src\chunker.rs:47:46, D:\a\lance\lance\rust\lance-index\src\scalar\btree.rs:1065:29

image

@westonpace
Copy link
Contributor

#2119 (comment)

@wpjgit wpjgit closed this as completed Aug 5, 2024
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

2 participants