[PR #234] [MERGED] use max scan token size to hold large objects #41302

Closed
opened 2026-04-24 21:12:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/234
Author: @mxyng
Created: 7/28/2023
Status: Merged
Merged: 7/28/2023
Merged by: @mxyng

Base: mainHead: fix-parse-license


📝 Commits (1)

  • 9c7f30d use max scan token size to hold large objects

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 parser/parser.go (+1 -0)

📄 Description

The internal buffer used by scanner is too small to hold Meta's license so allocate the maximum size set in bufio. It can be potentially higher but it's not necessary right now


🔄 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/234 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/28/2023 **Status:** ✅ Merged **Merged:** 7/28/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `fix-parse-license` --- ### 📝 Commits (1) - [`9c7f30d`](https://github.com/ollama/ollama/commit/9c7f30d31c51b8f1e245397e7f785e964c03820f) use max scan token size to hold large objects ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+1 -0) </details> ### 📄 Description The internal buffer used by scanner is too small to hold Meta's license so allocate the maximum size set in bufio. It can be potentially higher but it's not necessary right now --- <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-24 21:12:58 -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#41302