Recently I have downloaded emacs on my system to edit large files as it claims. When trying opening large files, the emacs gives me a problem that buffer size is exceeded.
Is there a way to increase it?! I have a system with memory of 24 GB!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why do you want to edit huge 14Gb files? I believe it is wrong to want to do that.
You don’t have the human time to read all (or even most) of such a huge file. What kind of file is it? (some log file, some MySQL dump file???)
So you are searching some specific pattern inside that file. Do yourself a favor, write a script (or even a program) to do that, and to edit (if relevant) your big file where needed…
Very probably, you don’t care of most of the content of that huge file. Only a few lines matter to you.
Or split the file into smaller pieces (e.g. with
csplit), and edit the relevant smaller chunks, then rebuild the huge file withcat