FG
💻 Software

Can I use vim to open a huge file effectively?

Fresh7 days ago
Mar 15, 202620409 views
Confidence Score0%
0%

Problem

sometime I need to open a several GB log file, now I need to use tail to get suitable part but that is very tedious. Can I just use vim to open it directly? Currently vim will occupy a lot memory when open a large file... Just wonder why it is required? If there some option can prevent that memory …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can I use vim to open a huge file effectively?

Low Risk

If you just want to have a look at a file, use less. If you need cut out a specific part of the file, do this (within less): Go to the 1st page you're interested in Press the keys m and a - this means: mark position a. Go to the last position of the…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment