Edit online

Technical Issues

Information about error messages and known issues for Chemistry.

This topic contains information about error messages, possible known issues, and other things that you might want to be aware of in regards to Oxygen PDF Chemistry.

Out of Memory Error

If you receive an error message indicating an Out of Memory Error, you can try the following:
  • Make sure you are using Java 17.
  • Use the -Xmx<NNN>m command-line parameter to specify a bigger value for the maximum allocated memory. If you are running Java on 64-bit, you can specify a larger memory size (for example, -Xmx2048m).

Copying and Pasting Text from the PDF Reader does not Preserve Line Breaks

The generated PDF is accessible. This causes some of the readers (such as Acrobat Reader) to change the way the lines are saved in the clipboard. The effect is that codeblock lines may be joined when pasting them into a text editor.

One solution is to disable the accessibility feature. To do this, edit the config/chemistry-fop.xconf file and change the <accessibility> element to false:
<accessibility>false</accessibility>