Increased Memory but still running Out of memory
Posted: Wed Jan 25, 2017 8:55 pm
Hello,
I'm using Oxygen version 18 where I have a transformation on an xml file (2247KB) to create a differently structured xml file. The xsl was unable to complete and resulted in the following error message:
The application exceeded the available memory: 3822MB. To avoid stability issues please restart the application. If the application has become unstable and cannot be closed normally, you can use the Force Quit button from this dialog. Be aware that by doing this you will lose any unsaved documents.
If the problem persists, it is recommended to increase the amount of memory available to the application.
You can increase the memory available to the application by setting a larger value for the -Xmx parameter in the startup script, for example -Xmx5350m.
For more details see the 'Performance problems' and 'Setting a parameter in the startup script' sections of the User Manual.
How to avoid these errors:
In case you were running a diff tool when this problem occurred you can try to use another algorithm next time.
If you just want to inspect a large file, please use the Large File Viewer available from the Tools menu.
Do not keep many editors open, close them when you do not need them anymore.
[ Transformation Performer ] - java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc.lyj(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc.myj(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc.fzj(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc$4.the(Unknown Source)
at ro.sync.ui.application.mb.run(Unknown Source)
I asked for IT help where I work. This person changed the oxygen.bat and oxygenAuthor18.1.vmoptions files.
oxygen.bat
Xmx2048m -XX:SoftRefLRUPolicyMSPerMB=10 -XX:MaxPermSize=500m
oxygenAuthor18.1.vmoptions
-Xmx2048MB
However, there are also Xmx for oxygen18.1.vmoptions, oxgydenAuthor.bat.
Which file do we need to make the change to the Xmx? Thanks for any help or suggestions.
Jennifer
I'm using Oxygen version 18 where I have a transformation on an xml file (2247KB) to create a differently structured xml file. The xsl was unable to complete and resulted in the following error message:
The application exceeded the available memory: 3822MB. To avoid stability issues please restart the application. If the application has become unstable and cannot be closed normally, you can use the Force Quit button from this dialog. Be aware that by doing this you will lose any unsaved documents.
If the problem persists, it is recommended to increase the amount of memory available to the application.
You can increase the memory available to the application by setting a larger value for the -Xmx parameter in the startup script, for example -Xmx5350m.
For more details see the 'Performance problems' and 'Setting a parameter in the startup script' sections of the User Manual.
How to avoid these errors:
In case you were running a diff tool when this problem occurred you can try to use another algorithm next time.
If you just want to inspect a large file, please use the Large File Viewer available from the Tools menu.
Do not keep many editors open, close them when you do not need them anymore.
[ Transformation Performer ] - java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc.lyj(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc.myj(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc.fzj(Unknown Source)
at ro.sync.exml.editor.xmleditor.gc$4.the(Unknown Source)
at ro.sync.ui.application.mb.run(Unknown Source)
I asked for IT help where I work. This person changed the oxygen.bat and oxygenAuthor18.1.vmoptions files.
oxygen.bat
Xmx2048m -XX:SoftRefLRUPolicyMSPerMB=10 -XX:MaxPermSize=500m
oxygenAuthor18.1.vmoptions
-Xmx2048MB
However, there are also Xmx for oxygen18.1.vmoptions, oxgydenAuthor.bat.
Which file do we need to make the change to the Xmx? Thanks for any help or suggestions.
Jennifer