gizak / gizak/termui

widgets.BarChart OOM error

Open
#245 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.6k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

If a bar chart's values are all zero, the program tries to allocate all available memory and crashes.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the widgets.BarChart implementation and reproduce the issue with a chart whose values are all zero. Trace the allocation path and add or update a focused regression test; done means the all-zero chart renders or returns without exhausting memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.