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

Stack overflow [Windows] #590

Open
JRGalvan opened this issue Jan 1, 2025 · 2 comments
Open

Stack overflow [Windows] #590

JRGalvan opened this issue Jan 1, 2025 · 2 comments

Comments

@JRGalvan
Copy link

JRGalvan commented Jan 1, 2025

Hello!

I just forked the main branch to my own repo, try to run it using vscode with "cargo run --package limbo --bin limbo database.db" and I received: "thread 'main' has overflowed its stack". Also rust complains about the pprof crate, and If I add it to the windows dependencies it complains about issues within the crate.

@psvri
Copy link
Contributor

psvri commented Jan 1, 2025

Hello,

I overcame the stack overflow part by adding the below in the root Cargo,.toml file. This post explains why we hit that https://www.reddit.com/r/rust/comments/xse74q/help_needed_with_stack_overflow_issue/ .

[profile.dev]
opt-level = 2

@penberg
Copy link
Collaborator

penberg commented Jan 2, 2025

I wonder where we use more than 1 MB of stack, though?

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

3 participants