jsleroy / compare-plugin

Compare plugin for Notepad++
GNU General Public License v3.0
222 stars 51 forks source link

compare locks up when canceling large file compare #76

Open tpisciotta opened 7 years ago

tpisciotta commented 7 years ago

I have a SQL Server stored procedure that that is 17608. I have the guts of that stored procedure in a .sql file that I compare against, after I've edited the SQL code.

If I cancel the compare, since the files are so large, Notepad++ locks up with a dialog stating, that its waiting to cancel. The dialog never closes. I have waited up to 5 minutes.

If I change focus from Notepad++ to go and do something else, Notepad++ goes "transparent".

I have to close Notepad++, by clicking the X in the upper right corner.

I'm on Windows Server 2012 x64 running Notepad++ 32bit.

pnedev commented 7 years ago

Please have a look at this issue report: https://github.com/pnedev/compare-plugin/issues/126. That's the same problem and it will be fixed in the next version, thanks for reporting.

rjsargent commented 3 years ago

Compare Plug-in v2.0.1 still shows the problem cancelling. To be fair, the two files were ~150MB comprising 1.2M lines. The compare progress bar got to 1/8th1/10th or so and froze. (Not surprising. From our perspective, the files had a lot in common, but every line "in common" began with a different timestamp from the other file.)

I hit cancel and waited for 5-10 minutes for anything to happen. I eventually left it overnight and the cancel did complete at some point.

I can provide the files if you would like a pathological test case for performance tuning.