[PR #749] [CLOSED] Respect Windows commit capacity #2804

Closed
opened 2026-11-04 02:03:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/749
Author: @SladeThe
Created: 10/4/2026
Status: ❌ Closed

Base: main ← Head: main


📝 Commits (2)

  • 701660f Respect Windows commit capacity
  • cf13558 Apply commit limits after allocation failure

📊 Changes

6 files changed (+299 additions, -39 deletions)

View changed files

📝 docs/DETAILS.md (+9 -4)
📝 docs/UNSLOTH_Q4.md (+13 -3)
📝 include/strata/core/expert_source.hpp (+27 -3)
📝 src/core/expert_source.cpp (+116 -25)
📝 src/program/generate.cpp (+4 -3)
📝 tests/core/file_expert_source_test.cpp (+130 -1)

📄 Description

This pull requests solves #730
It respects commit capacity when allocating memory on Windows (checking only the available memory is not enough).
Additionally, the PR improves logging around memory allocation.


🔄 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/Niko1221/Strata/pull/749 **Author:** [@SladeThe](https://github.com/SladeThe) **Created:** 10/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`701660f`](https://github.com/Niko1221/Strata/commit/701660f1413108c4c1a6dcbc2790d4364fa9cf92) Respect Windows commit capacity - [`cf13558`](https://github.com/Niko1221/Strata/commit/cf13558afa05c36bc6aceda2b174a1be57df6f26) Apply commit limits after allocation failure ### 📊 Changes **6 files changed** (+299 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `docs/DETAILS.md` (+9 -4) 📝 `docs/UNSLOTH_Q4.md` (+13 -3) 📝 `include/strata/core/expert_source.hpp` (+27 -3) 📝 `src/core/expert_source.cpp` (+116 -25) 📝 `src/program/generate.cpp` (+4 -3) 📝 `tests/core/file_expert_source_test.cpp` (+130 -1) </details> ### 📄 Description This pull requests solves #730 It respects commit capacity when allocating memory on Windows (checking only the available memory is not enough). Additionally, the PR improves logging around memory allocation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:03:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2804
No description provided.