This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
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, 2.6.27.25-170.2.72.fc10.x86_64, amd64 User Comments: 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] nps snapshot
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.
fix: http://hg.netbeans.org/cdev/rev/6e8138194943
Integrated into 'main-golden', will be available in build *201003250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6e8138194943 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #169775 - AWT thread blocked for 39887 ms. Handling UserQuestionException
verified. NetBeans IDE Dev (Build 201003290201)