[PR #12256] [MERGED] ollamarunner: Suppress stack trace during memory allocation #39628

Closed
opened 2026-04-23 00:36:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12256
Author: @jessegross
Created: 9/11/2025
Status: Merged
Merged: 9/11/2025
Merged by: @jessegross

Base: mainHead: jessegross/suppress_panic


📝 Commits (1)

  • 9e2e9c5 ollamarunner: Suppress stack trace during memory allocation

📊 Changes

1 file changed (+6 additions, -3 deletions)

View changed files

📝 runner/ollamarunner/runner.go (+6 -3)

📄 Description

Allocation failures can be a normal part of new memory estimates, so we shouldn't print a stack trace in this case.


🔄 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/ollama/ollama/pull/12256 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 9/11/2025 **Status:** ✅ Merged **Merged:** 9/11/2025 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/suppress_panic` --- ### 📝 Commits (1) - [`9e2e9c5`](https://github.com/ollama/ollama/commit/9e2e9c5d8a965c5641fba5e88b6cff6faae4673c) ollamarunner: Suppress stack trace during memory allocation ### 📊 Changes **1 file changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `runner/ollamarunner/runner.go` (+6 -3) </details> ### 📄 Description Allocation failures can be a normal part of new memory estimates, so we shouldn't print a stack trace in this case. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 00:36:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#39628