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.
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.
User login
Browse archives
« September 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   97766
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   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14299