Page 1 of 1
Diff gets stuck
Posted: Fri Nov 02, 2012 12:13 pm
by Kaioh_shin
Hello there
I am also experiencing a issue with compare files.
At first I got the error message with insufficient memory, but got over that with -Xmx1350m.
Now the progress bar gets stuck when comparing at the last three lines.
XML fast is selected at low level.
thank you in advance for the help
Re: Diff gets stuck
Posted: Fri Nov 02, 2012 12:51 pm
by adrian
Hello,
What version of Oxygen or XML Diff are you using (Help > About)?
What operating system (Windows, Mac, Linux) and of what architecture (32/64-bit) do you use?
I'm not sure what are you referring when you say that "the progress bar gets stuck when comparing at the last three lines". Does the File Differencing process get stuck, or does it get stuck when you click on one of the calculated differences?
Considering the previous problem was running out of memory, the problem could be the same. Java tends to get stuck (still works but it is very slow) when running very close to the memory heap limit.
Regards,
Adrian
Re: Diff gets stuck
Posted: Fri Nov 02, 2012 1:03 pm
by Kaioh_shin
thanks for the quick reply
diff ver 13.1
windows xp 32 bit
when the second file is opened, they are automatically compared for differences and a progress bar appears. That bar stops when it is 3 lines short of finishing.
"processing"
"Operation in progress"
is what the bar says
Re: Diff gets stuck
Posted: Fri Nov 02, 2012 1:42 pm
by adrian
Hi,
I'm afraid there's still not enough memory to finish processing the differences with that algorithm. Unfortunately, for 32-bit you've almost maxed out the -Xmx value. It probably won't start with -Xmx1500m.
Can you please try with the "Syntax aware" algorithm (select it in the toolbar combo box)?
Regards,
Adrian
Re: Diff gets stuck
Posted: Fri Nov 02, 2012 3:35 pm
by Kaioh_shin
you are right 1500 is not allowed.
With "syntax aware" at very high level, it does finish after a while, but only about 15% of differences can be shown.
I guess the documents are just too large.
Thanks for your help and have a great Weekend!
Re: Diff gets stuck
Posted: Fri Nov 02, 2012 3:44 pm
by adrian
Hi,
BTW, how large are the documents?
If you have access to a 64-bit system, you could install a 64-bit edition of Oxygen and compare them there. On 64-bit systems you can increase the -Xmx to pretty much any value as long as your memory (physical+virtual) can handle it.
Thanks and a great weekend to you too,
Adrian
Re: Diff gets stuck
Posted: Fri Nov 02, 2012 5:49 pm
by Kaioh_shin
the files are about 14 MB.
and 64 bit option is not a viable short term solution