Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View large file more than 300000 lines very slow. #178

Closed
bitristan opened this issue Sep 24, 2014 · 9 comments
Closed

View large file more than 300000 lines very slow. #178

bitristan opened this issue Sep 24, 2014 · 9 comments

Comments

@bitristan
Copy link

My macbook has 16G memory and 512G SSD. My emacs was installed by homebrew with --cocoa. I forked your configuration and it's pretty well. But a while ago, when I opened a file which is nearly 9M and
have more than 300000 lines, it's very slow moving around the whole file. I search the Internet and find a library vlf.el but not yet tried. How about your computer and is there any plan to solve this?

@redguardtoo
Copy link
Owner

  1. emacs -nq -Q the-large-file, is it better now?
  2. send me the file

@bitristan
Copy link
Author

I just use -Q and it's very fluent. But when my emacs was open and use C-x C-f to open the file, can there have some method? I will send you the file.

@redguardtoo
Copy link
Owner

it's because many major-modes are loaded, send me the file so I can optimize major-modes.

@bitristan
Copy link
Author

I couldn't find any way to send the file to you directly. So I put it on my google drive. https://drive.google.com/file/d/0B1QvPWzcQGdqaWt2NElZVDNjNVU/edit?usp=sharing

@redguardtoo
Copy link
Owner

you can email it to me, gzip it and email to chenbin.sh AT gmail DOT com

@bitristan
Copy link
Author

has sent email to you, the file is just a normal log file, please check your email.

@redguardtoo
Copy link
Owner

d051906 disable linum-mode to improve performance (Chen Bin)

@bitristan
Copy link
Author

Yeah, it's much better now. But I think it's not perfectly solved. Because the line position on modeline becomes ??. I'll have some try.

@redguardtoo
Copy link
Owner

3cc8207 display line number (Chen Bin)

it happens when the screen is not big enough to display the line number.

Now you can M-x display-line-number

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants