File_Adapter: writing over large files causes a crash
Open
- Dominant language
- C#
- Stars
- 7
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
I accidentally wrote 4 gigs to a .json file due to a tree-structure error. Then I fixed the error and attempted to write 300k to the same file, and grasshopper crashed (each of three times I tried). Can we introduce something to prevent such crashes?
Contributor guide
Research direction
Start in the File_Adapter entry point responsible for writing .json files and reproduce the reported failures with a 4 GB write followed by a 300k write. Trace where the crash occurs and check any existing tests around large-file handling. Done means repeated large writes no longer crash Grasshopper, with the behavior verified by a regression test if the project provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100