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
MemoryError: std::bad_alloc #11927
Comments
Hi @djouallah, thanks for raising this issue. When trying to run the reproduction script, I get a
Can you please take a look? |
Hi, I ran it and got a slightly different error. This may be traced to the same underlying issue so I'm marking this as reproduced and we'll take a look.
|
I managed to reproduce this locally, using the python bleeding edge. However, when I build the python package locally (in debug mode, because we need symbols) it doesn't reproduce. Maybe it has been fixed, or it only shows up in release builds. This needs some more investigation |
now, I am getting a different error
|
I would really appreciate not releasing 0.10.3 till this is fixed :) please |
Thanks for raising this, but in the future, please put more effort into reducing the issue Spatial is not needed to reproduce this issue, removing that from the repro would have made this a much bigger dot on our radar This is the only code needed to reproduce the problem. import duckdb
duckdb.sql("""
create table tbl(a varchar);
insert into tbl values ('test');
SELECT
*
FROM tbl
""").to_view('DUID')
res = duckdb.sql("select * from DUID").fetchone()
print(res) |
What happens?
MemoryError: std::bad_alloc
To Reproduce
colab notebook
https://colab.research.google.com/drive/1d5dFivmfnTWe-F8ecTcpLugtHax0beSG#scrollTo=0cUOn8QbPBv1
OS:
linux
DuckDB Version:
0.10.3.dev773
DuckDB Client:
Python
Full Name:
mim
Affiliation:
personal
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a nightly build
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: