jEdit Community - Resources for users of the jEdit Text Editor
Fixing java.lang.outofmemoryerror in Mac OS X
Submitted by AndrewClarke on Tuesday, 5 December, 2006 - 11:27
I want to increase my heap space from 64MB since I run out so often. I have read about and know the command line switch to do this, but I can't figure out how to set this up so it happens automatically when I click on the JEdit.app icon in OS X. Can anyone tell me how to do this?

Thank you very much,
- Andrew Clarke.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
You have to edit the Info.plist file.
by elberry on Tue, 05/12/2006 - 16:00
If you explore the jEdit.app, you'll see the directory "Contents". There you'll find the Info.plist file. For me, I edited this section:
<dict>
	<key>Arguments</key>
	<string>-background</string>
	<key>ClassPath</key>
	<string>jedit.jar:/System/Library/Java/</string>
	<key>JVMVersion</key>
	<string>1.5+</string>
	<key>VMOptions</key>
	<string>-Xms64m -Xmx512m</string>
	<key>MainClass</key>
	<string>org.gjt.sp.jedit.jEdit</string>
</dict>
Adding VMOptions and the min/max heapspace sizes. Learn from the past. Live in the present. Plan for the future.
 
Thank you very much. That wa
by AndrewClarke on Wed, 06/12/2006 - 21:53
Thank you very much. That was exactly what I needed! JEdit won't let me use -Xmx3072m so can't open my 1.25GB text file but with -Xmx1024m at least I can easily edit the 15MB ones Smiling

- Andrew.
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