Build: NetBeans IDE Dev (Build 200907270201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 126.96.36.199-170.2.72.fc10.x86_64, amd64
jsedek: I invoked subversion diff on bunch on sql scripts, ide got blocked for half a minute and the OOM was thrown
Maximum slowness yet reported was 39887 ms, average is 39887
Created attachment 85742 [details]
I found that one of sql files was a DB dump of about 500MB, not sure what we can do about such situation, but some
warning or skipping the file in diff would be probably better than block AWT for such a long time.
It is a general problem of diff module. You can reproduce it even with plain text 500 MB file.
I guess we could show a warning dialog when trying to diff a too big file with possibility to skip diffing such file.
But not in 6.8 (it's not a trivial change, it involves not only diff module but also all versioning systems, where the
file could also be opened). Planning for the next release.
Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ondrej Vrabec <firstname.lastname@example.org>
Log: Issue #169775 - AWT thread blocked for 39887 ms.
NetBeans IDE Dev (Build 201003290201)