More Java memory errors with oXygen 9.2

Hello, Using oXygen for a long time under Mac OS X, the new version (9.2) have more memory errors than previous version. It look like a memory leak. Since this version I pai really attention to the number of open file. But with only two open files but a lot opened and closed before, the memory error appears about every 3 hours of work. I know that I could change the memory allowed to oXygen, but the bug appears too. After more work but it appears. Did somebody else notice this issue ? Best Regards, Jacques

Hello, Thank you for reporting the problem but we need some more details about what actions you run more often and what are the last actions that you run in Oxygen when you get the Out of Memory errors. What is the file size of the currently opened files when you get the error? It does not matter if there are many files currently opened or not, but their size matters. Do you run the action "Format and Indent" on a large XML file many times? If yes is the option "Clear undo buffer before Format and Indent" enabled in Preferences -> Editor -> Format? Do you switch many times (tens of times) in 3 hours of work between the Text mode and Author mode of a very large XML file? Do you get the Out of Memory error with the options "Clear undo buffer before Format and Indent" (Preferences -> Editor -> Format) and "Clear undo buffer on save" (Preferences -> Editor -> Open/Save) enabled? Regards, Sorin Jacques Foucry wrote:
Hello,
Using oXygen for a long time under Mac OS X, the new version (9.2) have more memory errors than previous version.
It look like a memory leak. Since this version I pai really attention to the number of open file. But with only two open files but a lot opened and closed before, the memory error appears about every 3 hours of work. I know that I could change the memory allowed to oXygen, but the bug appears too. After more work but it appears.
Did somebody else notice this issue ?
Best Regards, Jacques _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user

On 5/18/08 8:09 AM, "Jacques Foucry" <jacques@foucry.net> wrote:
Hello,
Using oXygen for a long time under Mac OS X, the new version (9.2) have more memory errors than previous version.
I can't quantify my experience but it does seem like 9.2 has more performance issues after I've opened a few files than I remember with 9.1. But that could as easily be because I'm using it more, or using Author mode more, than I have before. I did set the VM to 256m for Oxygen 9.2. The last couple of weeks I've been focused on primarily heads-down authoring of documentation, making heavy use of the DITA features and Author mode and I have had a couple of times where I started getting out of memory errors when it didn't seem like I had opened that many documents (but it's hard to know what I had really done over the course of day). Is there a way to get better measurements or instrument Oxygen to prove or disprove this impression? Cheers, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com

Hi Eliot, Our best guess is that it is possible to have some accumulated memory for storing the changes needed for the undo operations. If you go from the Text mode to Author mode and make some changes then go back in Text mode, go to Author and so on then there is possible to accumulate an important amount of memory for storing the information needed to perform undo operations. Thus the suggestion that Sorin made earlier was to try to limit the undo buffer by enabling the options "Clear undo buffer before Format and Indent" (Preferences -> Editor -> Format) and "Clear undo buffer on save" (Preferences -> Editor -> Open/Save). Please try the same thing and see if you still get OutOfMemory errors? You can also try increasing the memory to 300, 400, 500 MB. In Help->About there is a "JVM Memory Used" label that shows the amount of memory used by oXygen and the total available memory. You can try to perform a File->Close All action on the editors (after you worked for a few hours but before getting an OutOfMemory error) and then go in the Help->About dialog and click on that label (that will run the Java garbage collector) and then see how much memory is used by oXygen. If that is around 30-80MB then it should be ok. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
On 5/18/08 8:09 AM, "Jacques Foucry" <jacques@foucry.net> wrote:
Hello,
Using oXygen for a long time under Mac OS X, the new version (9.2) have more memory errors than previous version.
I can't quantify my experience but it does seem like 9.2 has more performance issues after I've opened a few files than I remember with 9.1. But that could as easily be because I'm using it more, or using Author mode more, than I have before. I did set the VM to 256m for Oxygen 9.2. The last couple of weeks I've been focused on primarily heads-down authoring of documentation, making heavy use of the DITA features and Author mode and I have had a couple of times where I started getting out of memory errors when it didn't seem like I had opened that many documents (but it's hard to know what I had really done over the course of day).
Is there a way to get better measurements or instrument Oxygen to prove or disprove this impression?
Cheers,
Eliot

On 5/19/08 9:01 AM, "George Cristian Bina" <george@oxygenxml.com> wrote:
Hi Eliot,
Our best guess is that it is possible to have some accumulated memory for storing the changes needed for the undo operations.
If you go from the Text mode to Author mode and make some changes then go back in Text mode, go to Author and so on then there is possible to accumulate an important amount of memory for storing the information needed to perform undo operations.
Thus the suggestion that Sorin made earlier was to try to limit the undo buffer by enabling the options "Clear undo buffer before Format and Indent" (Preferences -> Editor -> Format) and "Clear undo buffer on save" (Preferences -> Editor -> Open/Save). Please try the same thing and see if you still get OutOfMemory errors? You can also try increasing the memory to 300, 400, 500 MB.
I will try those settings. I definitely do switch in and out of text and author mode--that's one of the compelling features of Oxygen compared to all other XML editors. Cheers, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com
participants (4)
-
Eliot Kimber
-
George Cristian Bina
-
Jacques Foucry
-
Sorin Ristache