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

NestedVector: exceeds max size error #316

Open
jedfrechette opened this issue Feb 26, 2025 · 2 comments
Open

NestedVector: exceeds max size error #316

jedfrechette opened this issue Feb 26, 2025 · 2 comments

Comments

@jedfrechette
Copy link

While using the prebuilt binary for version 18.60 I've been running in to errors like the following with some point clouds:

[ERROR] C:\Research\PoissonRecon\PoissonRecon\Src\nestedVector.h (Line 229)
              PoissonRecon::NestedVector<int,1,20>::resize
              Resize size exceeds max size, considering increasing nesting:
1844674407156206222 > 1099511627776

In the particular case I'm looking at now this error repeats 3 times with the number to the left of the > increasing by a small amount (a few hundred units) each time before failing completely. Older versions, from before NestedVector were implemented, are able to run successfully using the same parameters on this data set.

@mkazhdan
Copy link
Owner

How big is the point-set and what depth are you using?

@mkazhdan
Copy link
Owner

If you can compile the code, the fix is to change line 54 in PreProcessor.h from:
#define NESTED_VECTOR_LEVELS 1
to:
#define NESTED_VECTOR_LEVELS 2

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