
Hello, Oxygen seems very slow to restore when I've been using other applications. I understand that restoring from the page file can take time, but it seems really slow compared to other programs. Today I looked at the Task Manager during the Oxygen restore. The memory size of the Oxygen process was increasing at roughly .5MB/second, and was up near 200MB! And there was only one file open -- a small XSL stylesheet! (I had previously had about 6 or 7 stylesheets open -- none of them large.) It seems strange that Oxygen would need so much memory. I looked in the documentation for tips on performance, and it tells how to set the amount of memory available to the JVM, but doesn't indicate how to know what value to set it to. I guess I must have it on high since it was able to allocate over 200MB of space (oxygen.bat uses the -Xmx256m cmd-line option). Would it help to lower this setting? FWIW my laptop has 384MB RAM, and is running WinXP SP2. Windows has 600+MB of swap space on the drive. I'm running on power, not battery, so that's not an issue. I've just completely defragged my hard drive, so I know that's not the problem. These waits happen not only when I return to Oxygen from running other programs, but also when I return to a different buffer (file) in Oxygen that I haven't visited for a while, or use a function (like Find) for the first time in a while. After the wait, Oxygen runs pretty fast, but the waits are aggravating. Any suggestions? Other than more RAM (which I'm considering). Lars

Hello Lars, You can try to lower the memory limit to 128MB or bellow, by using -Xmx128m. You can change this both in the oxygen.bat file and in the oxygen.ini file from C:\Program Files\Oxygen 5.0\ directory, the entry: "Virtual Machine Parameters". Probably the JVM is preferring to allocate memory up to the specified limit of 256MB instead of invoking the garbage collector. Because of this some sections of the RAM can be swapped out on the disk, creating delays. Let me know if this change has solved the problem. Best regards, Dan lars wrote:
Hello, Oxygen seems very slow to restore when I've been using other applications. I understand that restoring from the page file can take time, but it seems really slow compared to other programs. Today I looked at the Task Manager during the Oxygen restore. The memory size of the Oxygen process was increasing at roughly .5MB/second, and was up near 200MB! And there was only one file open -- a small XSL stylesheet! (I had previously had about 6 or 7 stylesheets open -- none of them large.) It seems strange that Oxygen would need so much memory.
I looked in the documentation for tips on performance, and it tells how to set the amount of memory available to the JVM, but doesn't indicate how to know what value to set it to. I guess I must have it on high since it was able to allocate over 200MB of space (oxygen.bat uses the -Xmx256m cmd-line option). Would it help to lower this setting?
FWIW my laptop has 384MB RAM, and is running WinXP SP2. Windows has 600+MB of swap space on the drive. I'm running on power, not battery, so that's not an issue. I've just completely defragged my hard drive, so I know that's not the problem.
These waits happen not only when I return to Oxygen from running other programs, but also when I return to a different buffer (file) in Oxygen that I haven't visited for a while, or use a function (like Find) for the first time in a while. After the wait, Oxygen runs pretty fast, but the waits are aggravating.
Any suggestions? Other than more RAM (which I'm considering).
Lars
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Dan Caprioara
-
lars