borglab / gtsam

GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.
http://gtsam.org
Other
2.55k stars 755 forks source link

It was found that the system would crash if there were more than 5000 nodes under Windows. #1826

Closed hunkyu closed 5 days ago

hunkyu commented 1 week ago

image

hunkyu commented 1 week ago

Use the official demo

ProfFan commented 1 week ago

Please change your default stack size and report if that fix it?

luyuanxunnuli commented 6 days ago

Please change your default stack size and report if that fix it?

Thank you for your reply. I have set the stack size of gtsam.dll and programs which use gtsam.dll to 10M and 100M, but it crashes too.It is the same issue as #1827, #1827 is more detailed.

ProfFan commented 5 days ago

Many thanks @luyuanxunnuli ! I'll close this one as duplicate of #1827.

hunkyu commented 5 days ago

@ProfFan Setting the stack reserve size based on the VS software does not work