Memory leak when validating files
Oxygen general issues.
Memory leak when validating files
I have a project with about 200 XML files and 100 Schemas. I have to repeatedly validate them all, dozens and dozens of times. What I find, during the course of a day, is that oXygen starts to get slower after a while, and then runs out of memory shortly afterwards. I assume there is some memory leak when repeatedly validating files. This isn't a big problem; it takes quite a lot of work to make it happen, and you only have to close and restart oXygen to avoid the issue.
Cheers, Tony.
Cheers, Tony.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Memory leak when validating files
Post by sorin_ristache »
Hello,
Regards,
Sorin
There was a memory leak but not directly associated with validations. We fixed it. More recent Oxygen versions do not have the leak anymore.abcoates wrote:I assume there is some memory leak when repeatedly validating files. This isn't a big problem; it takes quite a lot of work to make it happen, and you only have to close and restart oXygen to avoid the issue.
Regards,
Sorin
Re: Memory leak when validating files
Hi,
Running 11.1, and I can categorically state that there is still a memory leak.
Running on Windows7 x64, noticed the oxygen.exe task was consuming 800mb.
I had 6 smallish (max 100k) files open.
These files would often be updated outside Oxygen, and would auto be reloaded, or I was prompted to reload the document.
Closing all the documents resulting in no decrease in memory usage.
Running 11.1, and I can categorically state that there is still a memory leak.
Running on Windows7 x64, noticed the oxygen.exe task was consuming 800mb.
I had 6 smallish (max 100k) files open.
These files would often be updated outside Oxygen, and would auto be reloaded, or I was prompted to reload the document.
Closing all the documents resulting in no decrease in memory usage.
Re: Memory leak when validating files
Hello,TimNZ wrote:Running 11.1, and I can categorically state that there is still a memory leak.
Running on Windows7 x64, noticed the oxygen.exe task was consuming 800mb.
Since Oxygen is a Java application the memory allocated gradually by the Java Virtual Machine stays allocated until the application is closed. This is the norm for all Java applications and it's caused by the way Sun's JVM manages memory.
Oxygen is configured to use at most 700MB of memory. The memory necessary to run the JVM itself is added to this amount, so the windows process will probably get as big as 800MB after some time.
You can see how much of the JVM memory pool Oxygen is actually using in Help -> About (JVM Memory Used).
If you believe 700MB is excessive you can decrease this value by modifying the -Xmx700m parameter from the oxygen.vmoptions file from the Oxygen installation directory. Make sure you don't go below 256m.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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