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

Very high RAM consumption on build #107

Open
rongcuid opened this issue Dec 12, 2022 · 1 comment
Open

Very high RAM consumption on build #107

rongcuid opened this issue Dec 12, 2022 · 1 comment
Labels
questions questions from user

Comments

@rongcuid
Copy link
Contributor

Is it normal the bundled crate requires >16GB of RAM to build? It looks like the C++ compiler is compiling one giant cpp file. Is it not possible to perform separate compilation?

@wangfenjin
Copy link
Collaborator

If you use the bundled feature, it will compile the cpp file.

You can download the released duckdb binary or build it separately by yourself, and use that lib by following this https://github.com/wangfenjin/duckdb-rs/blob/main/.github/workflows/rust.yaml#L36-L71

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

No branches or pull requests

2 participants