[PR #261] [MERGED] Fix: Only create large stack size if enough memory #390

Closed
opened 2026-06-08 11:27:47 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/261
Author: @bootandy
Created: 8/29/2022
Status: Merged
Merged: 8/31/2022
Merged by: @bootandy

Base: masterHead: fix_error_on_thread_creation5


📝 Commits (1)

  • 2231e2d Fix: Only create large stack size if enough memory

📊 Changes

3 files changed (+61 additions, -7 deletions)

View changed files

📝 Cargo.lock (+40 -1)
📝 Cargo.toml (+2 -1)
📝 src/main.rs (+19 -5)

📄 Description

Small boxes do not have enough memory to create a large stack

Conversely we want a large stack size for large boxes with a very highly
nested directory structure.

This new check for checking System memory is slow, adds ~ 100ms to runtime.

Version: New version


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/261 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 8/29/2022 **Status:** ✅ Merged **Merged:** 8/31/2022 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `fix_error_on_thread_creation5` --- ### 📝 Commits (1) - [`2231e2d`](https://github.com/bootandy/dust/commit/2231e2d966ef6a58156e889461f6d6195e84315a) Fix: Only create large stack size if enough memory ### 📊 Changes **3 files changed** (+61 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+40 -1) 📝 `Cargo.toml` (+2 -1) 📝 `src/main.rs` (+19 -5) </details> ### 📄 Description Small boxes do not have enough memory to create a large stack Conversely we want a large stack size for large boxes with a very highly nested directory structure. This new check for checking System memory is slow, adds ~ 100ms to runtime. Version: New version --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:27:47 +03:00
zhus closed this issue 2026-06-08 11:27:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#390