fatal error at startup with Oxygen 7 on osx (10.4.4)
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Sun Jan 22, 2006 7:56 pm
fatal error at startup with Oxygen 7 on osx (10.4.4)
Post by fablamenas »
i cannot launch Oxygen 7 (i used before v6):
I am on mac OSX (10.4.4) and
$ java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
When i luch oxygen via dedicated script:
$ /Applications/oxygen/oxygenMac.sh
16:56:11,867 73203 FATAL [ main ] ro.sync.ui.application.ApplicationLauncher - java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at ro.sync.ui.application.ApplicationLauncher.A(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at ro.sync.exml.Oxygen.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError
I am on mac OSX (10.4.4) and
$ java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
When i luch oxygen via dedicated script:
$ /Applications/oxygen/oxygenMac.sh
16:56:11,867 73203 FATAL [ main ] ro.sync.ui.application.ApplicationLauncher - java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at ro.sync.ui.application.ApplicationLauncher.A(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at ro.sync.exml.Oxygen.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
An OutOfMemoryError at startup can be caused by one or more large files which were open when <oXygen/> was closed last time and are opened automatically at startup. The fix is to allow a larger maximum limit for the heap space of the Java virtual machine in the oxygenMac.sh script by changing the -Xmx parameter of the java command, for example from -Xmx256m to -Xmx512m or -Xmx768m, like this:
After a successful startup if you close the large files and then close <oXygen/>, you can revert to -Xmx256m.
Another fix is to rename or delete your <oXygen/> preferences directory so that the files are not opened automatically at startup, called com.oxygenxml and located in [user-home-dir]/Library/Preferences. This is more drastic because you will lose all your <oXygen/> preferences.
Regards,
Sorin
An OutOfMemoryError at startup can be caused by one or more large files which were open when <oXygen/> was closed last time and are opened automatically at startup. The fix is to allow a larger maximum limit for the heap space of the Java virtual machine in the oxygenMac.sh script by changing the -Xmx parameter of the java command, for example from -Xmx256m to -Xmx512m or -Xmx768m, like this:
Code: Select all
java "-Xdock:name=Oxygen" -Dcom.oxygenxml.editor.plugins.dir="$p/plugins" -Xmx768m -cp "$CP" ro.sync.exml.Oxygen "$@"
Another fix is to rename or delete your <oXygen/> preferences directory so that the files are not opened automatically at startup, called com.oxygenxml and located in [user-home-dir]/Library/Preferences. This is more drastic because you will lose all your <oXygen/> preferences.
Regards,
Sorin
-
- Posts: 1
- Joined: Fri Mar 31, 2006 8:53 pm
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
The User Manual also describes how to increase the maximum memory allocated to <oXygen/> so that it can load very large files. When you edit oxygenMac.sh make sure you change only the value of the -Xmx parameter, for example from 256 MB to 512 MB. You should run oxygenMac.sh from [oXygen-install-folder].
Regards,
Sorin
The User Manual also describes how to increase the maximum memory allocated to <oXygen/> so that it can load very large files. When you edit oxygenMac.sh make sure you change only the value of the -Xmx parameter, for example from 256 MB to 512 MB. You should run oxygenMac.sh from [oXygen-install-folder].
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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