micro-editor / micro-editor/micro

Issues opening large files

Open
#634 12 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Problem

I can't open a file that is 32 MB. I try opening it with micro, and I get a blank screen. With Nano it takes around 10 seconds to open the file. Memory consumption of Nano is pretty low when I open it as well, around 70MB, while micro is at 1.69 GB without ever opening it.

Specifications

Commit hash: 5dc8fe4
OS: Mac Os Sierra 10.12.4
Terminal: iTerm2 3.0.15

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the blank screen and memory growth with a 32 MB file in micro, using the reported macOS and terminal versions where possible, and compare the behavior with Nano. Done means micro opens the file successfully without excessive memory consumption.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.