Out Of Memory Error When Opening Large Documents
Problem
I am trying to open a file larger than 100 MB in Oxygen JSON Editor, but it runs out of memory (OutOfMemoryError).
Solution
You should make sure that the value of the Optimize loading in the Text edit mode for files over option is less than the size of your document. This will enable the optimized support for large documents. If that fails and you still get an Out Of Memory error you should increase the memory available to Oxygen JSON Editor.
Other tips:
- Make sure that you close other files before opening the large file.
- You can set the default editing mode in the Preferences dialog box. The Text editing mode uses less memory than other editing modes.
- If the file is too large for the editor to handle, you can open it in for viewing in Large File Viewer.