Diff out of memory -- process loop

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ggorman
Posts: 25
Joined: Mon Aug 01, 2005 10:45 pm

Diff out of memory -- process loop

Post by ggorman »

I tried Tools->Compare files on some rather large xml files. Diff reported that it ran out of memory and that I should change the xmx value in the diffFiles.ini -- I found only diffFiles6.1.ini, so I modified that; but I couldn't quit the diffFiles program. It was stuck in a loop trying to process the files; reporting out of memory; process the files; reporting ...

Eventually my oXygen session quit screen updates as well. I increased the xmx value, but I suspect it's not re-reading diffFiles.6.1.ini. At this point niether diffFiles nor oXygen would respond to the close command.

My machine has 3.6GB of memory available.

George G
ggorman
Posts: 25
Joined: Mon Aug 01, 2005 10:45 pm

Post by ggorman »

This situation got quite a bit worse. Once I recovered by restarting my Windows XP machine and started Oxegen again, it seems that Oxegen has lost all of what it knew before. There was a splash screen that said something about not able to transfer data for Oxegen6.1 ... I couldn't read it all before it went away. Then Oxegen asked for my registration data again -- and any Project I load does not bring back the files that were with that project when I save it...

By the way, the two files I was attempting to diff were 37KB each -- using algorithm Auto.

George G
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

It will help if it is possible to send us those files at support at oxygenxml dot com so we can reproduce the problem.

Thank you,
George
ggorman
Posts: 25
Joined: Mon Aug 01, 2005 10:45 pm

Post by ggorman »

Data sent as requested -- thanks

George G
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

I compared the two files several times and only one time I got a OutOfMemoryError and had problems closing <oXygen/> because the OutOfMemory error dialog is displayed for every user action. The other times I got a message "Diff failed: Not enough memory. Please choose a different algorithm". We will try to improve the behavior in the case of OutOfMemoryError so that you can close <oXygen/> normally.

The XML Accurate algorithm requires more memory than the other algorithms. If you increase the memory available for <oXygen/> and the OutOfMemoryError is not solved then the compared files are too large for that algorithm. Please use XML Fast instead of XML Accurate.

Best Regards,
Sorin
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Diff out of memory -- process loop

Post by sorin_ristache »

Hello George,
ggorman wrote:I couldn't quit the diffFiles program.
...
nor oXygen would respond to the close command
ggorman wrote:Once I recovered by restarting my Windows XP machine and started Oxegen again, it seems that Oxegen has lost all of what it knew before.
...
Oxegen asked for my registration data again -- and any Project I load does not bring back the files that were with that project when I save it
Version 6.2 will include a fix for that. When there is an OutOfMemory error <oXygen/> will allow you to close the application normally without loosing data or project settings.

Regards,
Sorin
ggorman
Posts: 25
Joined: Mon Aug 01, 2005 10:45 pm

Post by ggorman »

Thanks Sorin, I'll look forward to the change.

George G
Post Reply