Skip to content

Convert some larger stack allocations to heap allocations#659

Merged
rtklibexplorer merged 1 commit intortklibexplorer:demo5from
ourairquality:non-stack-alloc
Jul 6, 2025
Merged

Convert some larger stack allocations to heap allocations#659
rtklibexplorer merged 1 commit intortklibexplorer:demo5from
ourairquality:non-stack-alloc

Conversation

@ourairquality
Copy link
Copy Markdown

to help avoid stack overflows. In particular the nav_t object and MAXOBJS multiples of the obsd_t objects.

Seeing stack overflows working on the windows rtknavi app, it might be just a 1M stack size, and this resolved it, but that was working with more than the default number of frequency indices and other extended data. Applied the same to the qt app.

@ourairquality ourairquality force-pushed the non-stack-alloc branch 2 times, most recently from a846c3e to 54ed35b Compare May 30, 2025 12:44
to help avoid stack overflows. In particular the nav_t object and
MAXOBJS multiples of the obsd_t objects.
@rtklibexplorer rtklibexplorer merged commit 299223b into rtklibexplorer:demo5 Jul 6, 2025
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

Successfully merging this pull request may close these issues.

2 participants