Skip to content

ImportError: Out of Memory Error on arm64 #8095

@lindeer

Description

@lindeer

What happens?

using duckdb in console:

$ python
>>> import duckdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: Out of Memory Error: Failed to allocate block of 2048 bytes

same issue happened if run script

To Reproduce

download duckdb and its dependencies on an arm64 machine:

$ pip download duckdb
Collecting duckdb
  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c0/77/6ca11ed3e339d7fe8acd38ad75eca886ce2403f9fddf9f4f503d42d7093e/duckdb-0.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 
Saved ./duckdb-0.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Successfully downloaded duckdb

install duckdb in offline environment on another arm64 amchine:

$ pip install ./duckdb-0.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Install successfully.

I believe something wrong happened on the environment of my second arm64, 'cause everything is OK on my first arm64(no ImportError), but I could not find more debug info, and could not figure out the root cause, any help? Thanks!

OS:

Linux fxq1 4.14.0-115.axs7.0.1.aarch64

DuckDB Version:

0.8.1

DuckDB Client:

Python

Full Name:

Wesley

Affiliation:

Meituan

Have you tried this on the latest master branch?

  • I agree

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

  • I agree

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions