Move oxygen*.vmoptions To Home Directory
Are you missing a feature? Request its implementation here.
-
- Posts: 99
- Joined: Thu Oct 23, 2008 6:29 am
Move oxygen*.vmoptions To Home Directory
I increase JVM memory to oxygen*.vmoptions only to have it lost when I update to a newer release. Some times I forget to update it again and only learn of insufficient memory when I see an error message. My request is to move this configuration file to the associated users home directory. This way it may be customized for the current user with no fear of being lost during updates.
The only caveat to this request is the event you introduce new options later that do not exist in a user's home location. I am sure you can work out something to also handle this scenario too!
I specified user's home directory, since you are cross platform. For Windows, this location would be:
C:/Users/%USERNAME%/AppData/Local/OxygenXML
The only caveat to this request is the event you introduce new options later that do not exist in a user's home location. I am sure you can work out something to also handle this scenario too!
I specified user's home directory, since you are cross platform. For Windows, this location would be:
C:/Users/%USERNAME%/AppData/Local/OxygenXML
-
- Posts: 99
- Joined: Thu Oct 23, 2008 6:29 am
Re: Move oxygen*.vmoptions To Home Directory
After thinking about this a little more, there's changes you may make to minimize the amount of work needed to complete my request.
I propose the following changes:
I propose the following changes:
- Keep the existing vmoptions file creation in OxygenXML's installation location as currently. For the latest version, it is called oxygen22.1.vmoptions.
- Add support for looking for and using an additional file that overrides the file above located in the user's home directory. This file that overrides the default file must have a file name that does not contain a version. For example, name the file: oxygen.vmoptions
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Move oxygen*.vmoptions To Home Directory
Hello,
Currently oxygen22.1.vmoptions has two includes for custom vmoptions files:
Either of these two files mentioned in the includes can be created in the installation folder and will stick between Oxygen updates in the same folder (same major version). If you install a new major version in a different folder, you have to create them again.
They would probably have the same names, custom_commons.vmoptions and custom_oxygen.vmoptions.
Regards,
Adrian
Currently oxygen22.1.vmoptions has two includes for custom vmoptions files:
Code: Select all
-include-options custom_commons.vmoptions
-include-options custom_oxygen.vmoptions
- custom_commons.vmoptions is included by all the vmoptions, so it affects all .exe launchers (the scripts with no extension for Linux). It is suitable for settings common for all the apps, not for memory.
- custom_oxygen.vmoptions is specific to the oxygen22.1 launcher, so you could create this one to adjust the memory.
They would probably have the same names, custom_commons.vmoptions and custom_oxygen.vmoptions.
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
-
- Posts: 99
- Joined: Thu Oct 23, 2008 6:29 am
Re: Move oxygen*.vmoptions To Home Directory
If I may install a new version (major or minor) without losing my vmoptions and never have to manually edit anything (that I later forget to do), this will meet my needs.
If I still have to remember to edit files, this will not help me.
If I still have to remember to edit files, this will not help me.
-
- Posts: 83
- Joined: Fri Sep 17, 2004 10:53 am
- Location: Prague, the Czech Republic, Europe
Re: Move oxygen*.vmoptions To Home Directory
I am also voting for moving "custom*.vmoptions" from "C:\Program Files\Oxygen XML Developer" to "C:\Users\%USERNAME%\AppData\Roaming\com.oxygenxml.developer" folder. This does make me a much sense than having "custom*.vmoptions" in "%ProgramFiles%".
Also I suggest, that if any value (e. g. -Xmx) appears both in custom and non-custom file, than custom will overwrite those in non-custom.
Also I suggest, that if any value (e. g. -Xmx) appears both in custom and non-custom file, than custom will overwrite those in non-custom.
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