jEdit Community - Resources for users of the jEdit Text Editor
Opening large files
Submitted by oren on Tuesday, 13 July, 2004 - 00:28
I tried to open a 6.1GB file, and it fails with heap warning.
I already increased heap size up to 20 and 30 GB, but it still fails to open.
I'm using a sun blade 2000 with 6GB RAM and solaris 9.
Java runtime build 1.4.0_00-b05.
How can I open this file?
Is it possible to decrease the amount of memory JEDIT uses ? (currently its more than double the file I open).
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
qq
by hy263 on Tue, 29/08/2006 - 10:01
免费性电影 成人电影下载 性爱视频 偷拍图片 泳装美女 性感内衣 性爱贴图 性生活图片 作爱图片 性交电影 做爱电影 性福 人体摄影 裸女图片 乱伦图片 强暴电影 轮奸视频 迷奸图片 免费小电影 免费电影在线 免费影片 最新大片 免费电影下载 免费在线电影 看免费电影 免费电影网站 情色电影 激情视频下载 明星露点图片 激情写真 阴部图片 乳房图片 全裸美女 淫荡小说 淫乱小说 美女脱衣视频 裸体美女 手淫图片 波霸美女 淫水图片 阴户阴毛图片 美女图库 美女口交图片 韩国电影 性知识图片 最新电影 宽带电影 经典电影 恐怖电影 人体艺术 美女图片 美女走光 A片下载 毛片 偷窥图片 裸体视频聊天室 成人网站 成人论坛 性爱论坛 性变态图片 淫女 女大学生 美女下阴图 女性生殖器 操逼图片 激情论坛 两性生活 性教育片 两性知识 美腿图片 三级片 黄色电影 成人性爱电影 写真电影 美女阴部 美女乳房 强奸图片 裸体图片 美女自拍 色情图片 激情图片 激情小电影 性感图片 性交图片 做爱图片 黄色小说 成人小说 偷拍走光 美眉图片 人体写真 性虐待电影 写真集 激情电影 免费影院 日本av电影 美少女贴图 性感美女图片 美女写真 漂亮妹妹图片 同志电影 性交姿势 手机铃声制作 手机mp3下载 手机主题 如何制作手机铃声 真人原唱和弦铃声 qd铃声下载 经典铃声 联通手机彩铃 诺基亚手机铃声 小灵通铃声 移动手机铃声 手机动画 手机彩图 手机铃音 手机铃声论坛 搞笑手机铃声 个性铃声 dj铃声 唱得响亮铃声 手机铃声图片 高频铃声下载 手机铃声格式 搞怪铃声 比特铃声 自编铃声 adp铃声 七彩铃声 神奇铃声 最新铃声 另类铃声 短信铃声 来电铃声 音乐铃声 歌曲铃声 铃声试听 手机壁纸 彩色铃声 v3铃声下载 手机待机图片 免费手机图片 三星手机图片 经典铃声 最新手机铃声 戴尔笔记本报价 戴尔笔记本电脑价格 戴尔双核笔记本 戴尔电脑网站 戴尔家用电脑 戴尔电脑官方网站 戴尔台式机 戴尔网上订购 戴尔笔记本电脑网上订购 戴尔双核笔记本 戴尔服务器 戴尔电脑公司 戴尔电脑价格 戴尔台式电脑 戴尔手提电脑 戴尔中国 戴尔网站 戴尔笔记本官方网站 戴尔笔记本 戴尔笔记本电脑 dell笔记本电脑 双核笔记本电脑 戴尔笔记本电脑报价 戴尔电脑网上订购
Java heap size
by cwkaufmann on Wed, 22/12/2004 - 20:48
I didn't think the Java heap could be sized over the maximum per process allocation for the underlying platform, e.g. 2 GB for Win32. I hope you're using 64-bit Solaris.
Large files - great if we could open them
by Anonymous on Wed, 14/07/2004 - 03:50
I know exactly where these large files come from: Server Logs. If you are working on a windows computer and you need to track down a problem that is *somewhere* in a 2G log file, your pretty much screwed. TextPad and WordPad will both crash. And so will JEdit.

It would be wonderful if JEdit could drop into some sort of 'large file' mode for large files. If I'm looking at a 2G file, I probably don't care about scroll bar accuracy. Brace matching and other 'whole file' highliting should be deactivated. And, oviously, only sections of the file can be pulled into memory.

JEdit is big & slow compared to TextPad, but this would be an area that the Windows options currrently can't touch.

$.02
ee
 
warning: large file ahead! (new global options setting?)
by paulflory on Sun, 18/07/2004 - 15:21
.

Even as a stop-gap feature request, I'd like to have jEdit *warn* me before *attempting* to open a file over x KB/MB/GB, based on a setting somewhere in Global Options that specifies x. (Turned off by by default?)

There have been times when I've initiated the Open File function only to realize that the file (commonly a log file) is a mammoth beast, and I get that sinking titantic feeling as jEdit submerges into the unreachable depths, foolishly reeling in a file manifold larger than itself. And sometimes I have to cut the rope and kill the jEdit process, along with any unsaved buffers. Sad

This simple "warning" feature would be a one-up compared to other text editors... most that I know of at least. Should be easy to implement, right? User interface dialog reads "Warning, this is a large file and may take a long time to load. Do you wish to continue? Yes/No"


For the 2GB and larger files, which text editors can cope with these, and how so? vi, emacs? Any Windows flavors? Could jEdit borrow the same sort of logic for handling these? Read just part of the file into memory at a time?

-Paul
 
More with less
by Anonymous on Sat, 24/07/2004 - 22:38
There is a Unix app for working with large files call 'less'. From 'man less':

------------------------
less - opposite of more

Less is a program similar to more (1), but which allows backward move-
ment in the file as well as forward movement. Also, less does not have
to read the entire input file before starting, so with large input
files it starts up faster than text editors like vi
---------------------

I've used less to work with large files and it is very responsive. Could JEdit implement a reduced set API mode for situations where it is not practical to pull the entire document into memory?

Eric Everman
why open a 6 GB file in an editor?
by paulflory on Tue, 13/07/2004 - 04:20
Not to poo-poo your question - it's valid, though I've never had reason to open anything *this* whopping.

How about using head, tail, grep, or other unix utils to get at what you need, and possibly opening just those bits of the file with jEdit?
 
Maybe because, result of grap
by chentz on Wed, 22/12/2004 - 20:22
Maybe because, result of grap is very large too. I'm still with this problem and my files is very little than yours. Other problema is why 50mb file use 140mb of heap in JEdit ?
I'm really don't understand.
 
Why jEdit doubles the file size
by cwkaufmann on Wed, 22/12/2004 - 20:41
Welcome to Unicode. When jEdit opens a file, it changes the coding from whatever was used to store the file, e.g. UTF-8, ISO Latin-1, etc., normally a single-byte character set to Unicode which is a double-byte character set. Then add the overhead for Java and jEdit (25 MB on my setup), plus plugins.
 
determine current buffer encoding?
by Anonymous on Sun, 13/03/2005 - 03:49
Is there a way to determine what encoding a current buffer or file is in? For example, I opened a file in euc-kr by selecting euc-kr instead of autodetect. Now in jedit is this in utf-8?? If I save the file will be it euc-kr or utf-8?? If I save as... to a new file will the new file be utf-8?
 
Hi, Really, this make sense
by chentz on Thu, 23/12/2004 - 14:29
Hi,
Really, this make sense. You know any workaround for specify a native caracter code ?
PS: In global options->General have an option calling "Default caracter encoding", this one have any connection with the problem ?
 
Character coding
by cwkaufmann on Thu, 23/12/2004 - 15:35
The option only determines how the the file is translated to/from Unicode. The use of Unicode is part of Java, and I doubt that there is any easy way to get around it.
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300