How To Increase Java Memory On MacOS
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 99
- Joined: Thu Oct 23, 2008 6:29 am
How To Increase Java Memory On MacOS
I Google searched trying to find how to do this. All attempts failed so far.
I created a vmoptions.txt file within \Applications\Oxygen XML Editor that was plain text containing:
-Xmx8192m
This didn't work.
I also tried editing \Applications\Oxygen XML Editor\oxygen.sh:
This didn't work either.
I created a vmoptions.txt file within \Applications\Oxygen XML Editor that was plain text containing:
-Xmx8192m
This didn't work.
I also tried editing \Applications\Oxygen XML Editor\oxygen.sh:
Code: Select all
set -- \
-Xmx8192m\
-XX:-OmitStackTraceInFastThrow\
-XX:SoftRefLRUPolicyMSPerMB=10\
-Dcom.oxygenxml.editor.plugins.dir="$OXYGEN_HOME/plugins"\
-Dcom.oxygenxml.app.descriptor=ro.sync.exml.EditorFrameDescriptor\
-Dsun.io.useCanonCaches=true\
-Dsun.io.useCanonPrefixCache=true\
-cp "$CP"\
ro.sync.exml.Oxygen\
"$@"
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: How To Increase Java Memory On MacOS
Hi,
The procedure from the docs seems to have been mixed up a little. Here's the correct one:
e.g.
Modifying the .sh script only has effect if you run the said script. If you start Oxygen via the .app launcher, the changes from the .sh script have no effect.
Regards,
Adrian
The procedure from the docs seems to have been mixed up a little. Here's the correct one:
In short, the vmoptions.txt file should be placed within the Oxygen .app package, in the Contents folder, not directly in the installation folder.To increase the memory available to Oxygen XML Editor on macOS:
- Right-click the Oxygen XML Editor app in Finder.
- From the contextual menu, select Show Package Contents.
- Go to the Contents directory and copy there the vmoptions.txt file.
e.g.
Code: Select all
\Applications\Oxygen XML Editor\Oxygen XML Editor.app\Contents\vmoptions.txt
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service