Not enough memory at start-up: JNI error
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Thu Apr 12, 2007 7:45 am
Not enough memory at start-up: JNI error
Oxygen 8.1 (running on 'Windows XP Prof for Tablets', Sun Java 6, 2Gig, HP TC4400) randomly will not start properly and reports an error "JNI error: not enough memory'. A second attempt to start up is usually successful. Seems like a Java issue. Any clues what is going on? Any help is appreciated.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Go to the oXygen install folder and edit the oxygen8.1.ini file. On the line Virtual Machine Parameters replace -Xmx40:32:700P with -Xmx512m, save the oxygen8.1.ini file and restart oXygen 8.1. Does it report the same error?
Regards,
Sorin
Go to the oXygen install folder and edit the oxygen8.1.ini file. On the line Virtual Machine Parameters replace -Xmx40:32:700P with -Xmx512m, save the oxygen8.1.ini file and restart oXygen 8.1. Does it report the same error?
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
We will investigate the problem of the shortcut launcher. Please change the -Xmx256m parameter to -Xmx512m in the java command in the oxygen.bat script located in the oXygen install folder and start oXygen from a command line with the command:
executed in the oXygen install folder. This should start up oXygen without problems.
Regards,
Sorin
We will investigate the problem of the shortcut launcher. Please change the -Xmx256m parameter to -Xmx512m in the java command in the oxygen.bat script located in the oXygen install folder and start oXygen from a command line with the command:
Code: Select all
oxygen.bat
Regards,
Sorin
-
- Posts: 4
- Joined: Thu Apr 12, 2007 7:45 am
The provided work around does not work as it does not change the behavior. In all cases, the behavior is similar: failure to launch after login with a 'not enough memory' message, and successful start subsequently.
Somehow the first attempt puts the JRE (or Oxygen) in a different mode so that subsequent starts are OK.
I have no clue what is going on. Let me know if you need more detailed information.
Ton
Somehow the first attempt puts the JRE (or Oxygen) in a different mode so that subsequent starts are OK.
I have no clue what is going on. Let me know if you need more detailed information.
Ton
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
Please edit [oXygen8.1-install-folder]\oxygen.bat, replace -Xmx512m with -Xmx256m in the java command on the last line of the file, start oXygen from a command line using the command:
Does it work also at the first startup after login? Does it work only starting with the second startup?
Regards,
Sorin
Please edit [oXygen8.1-install-folder]\oxygen.bat, replace -Xmx512m with -Xmx256m in the java command on the last line of the file, start oXygen from a command line using the command:
Code: Select all
oxygen.bat
Regards,
Sorin
-
- Posts: 4
- Joined: Thu Apr 12, 2007 7:45 am
Nothing works, included the suggested solutions. Just installed version 8.2 and the behavior is exactly the same.
First time fails, second time OK. Upon successful start , Oxygen takes moderate resources (unlike some others who report excessive amounts of CPU cycles).
Would it be possible for you to send me a special 'debug' version to better figure out what is going on?
Ton
First time fails, second time OK. Upon successful start , Oxygen takes moderate resources (unlike some others who report excessive amounts of CPU cycles).
Would it be possible for you to send me a special 'debug' version to better figure out what is going on?
Ton
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
What is "some others"? Other applications?drkbts wrote:unlike some others who report excessive amounts of CPU cycles
What is the version and vendor of the Java virtual machine that runs oXygen? You can find them in the Help -> About dialog, the System properties tab, the properties java.vm.version and java.vm.vendor.
Try also to run oXygen with a different version of the Java virtual machine by specifying the full path to java.exe in oxygen.bat and running the command
Code: Select all
oxygen.bat
Code: Select all
"C:\Program Files\Java\jre1.5.0_06\bin\java.exe" -Xmx256m -Dsun.java2d.noddraw=true ...
Sorin
-
- Posts: 17
- Joined: Fri May 11, 2007 2:58 pm
- Location: Brunel University, UK
I have the same problem with a slightly different scenario.
1) The "Out of memory error" used to occur occasionally (versions 8.1 and before) if I had been using or was currently using Netbeans. BTW: I have 2Gbytes of RAM.
2) With 8.2 it ALWAYS occurs when the file "oxygen.exe" is run (this is what the desktop icon points to). It does NOT occur if I start <oXygen> from the oxygen.bat file (Xmx256 or Xmx512 -- it doesn't matter). This suggests something about the Java platform it's finding.
3) I have various 1.5 series JREs and a couple of 1.6 JREs.
I, too, would be glad if this could be sorted out.
Thx.
1) The "Out of memory error" used to occur occasionally (versions 8.1 and before) if I had been using or was currently using Netbeans. BTW: I have 2Gbytes of RAM.
2) With 8.2 it ALWAYS occurs when the file "oxygen.exe" is run (this is what the desktop icon points to). It does NOT occur if I start <oXygen> from the oxygen.bat file (Xmx256 or Xmx512 -- it doesn't matter). This suggests something about the Java platform it's finding.
3) I have various 1.5 series JREs and a couple of 1.6 JREs.
I, too, would be glad if this could be sorted out.
Thx.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
It seems there is a memory allocation problem with the oxygen.exe launcher. Until we fix the problem please start oXygen using the oxygen.bat script the first time after a Windows login.RogerP wrote:With 8.2 it ALWAYS occurs when the file "oxygen.exe" is run (this is what the desktop icon points to). It does NOT occur if I start <oXygen> from the oxygen.bat file
Regards,
Sorin
-
- Posts: 17
- Joined: Fri May 11, 2007 2:58 pm
- Location: Brunel University, UK
Thanks for your reply.sorin wrote:... please start oXygen using the oxygen.bat script the first time after a Windows login.
Regards,
Sorin
I don't understand! It's not just the first time after a Windows login but every time I try to launch <oXygen/>, no matter whether the BAT file was used previously or not.
Regards.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
We reported the problem to the developers of the Windows installer application used for the oXygen installer. Please start oXygen only with the oxygen.bat script until we fix it.
Regards,
Sorin
We reported the problem to the developers of the Windows installer application used for the oXygen installer. Please start oXygen only with the oxygen.bat script until we fix it.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
I sent you a new oXygen launcher to test on your Tablet PC running Windows XP. Please let us know if this launcher reports the same error or it can start up the oXygen application.RogerP wrote:I, too, would be glad if this could be sorted out.
Thank you,
Sorin
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