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.

Bug 190681 - Scanning Projects takes 100% CPU after 10 minutes working, forever, recurringly
Summary: Scanning Projects takes 100% CPU after 10 minutes working, forever, recurringly
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal with 1 vote (vote)
Assignee: issues@php
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-09-29 19:59 UTC by cimodev
Modified: 2011-11-16 16:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cimodev 2010-09-29 19:59:18 UTC
Dear netbeans-Developers and php-plugin-developers

At first, you all make a very good job!
But over past three months i see every day the same issue, so i will start to report it now.

After running netbeans on Ubuntu 10 with Sun-Java and working on some (medium- and large-sized) PHP-projects i run every time in an 100%-CPU-issue, which never ends. Netbeans can not be handled in this situation, nor it can be closed via File-Menu. I have to kill it with "killall java" in terminal.
Restarting netbeans, the same things happens after 10-20 Minutes working at the same projects.

This issue is reported here from java-developers, c++ - programmers and occurs since 6.5, i know that.
Now we have here netbeans 6.9.1.

But I think, in between i can give some details:

The Process "Scanning project" immediatly after loading a project works very fine and ends up after 1-2 minutes.

But, sometimes while typing, netbeans wants to "rescann" projects, for instance when i write a class-operator "->" after an object, which does netbeans DONT KNOW! Example: "$document->"  Now rescanning is starting, because due some factory-classes and factory-methods Netbeans doesn'nt know, what Type the variable $document is from.

When then comes the statusbar-text "Scanning Projects..." again, this is a trigger for the process described above. Within next 2-5 minutes the CPU-Usage goes higher and higher and then its over with netbeans!

So i have to kill it hardly nearly every 10-25 minutes via console/terminal.

Please let me know, if i shall give you more detailled information. Let me know, what kind of information and maybe, how can i retrieve them!

My PHP-Projects are written with PHP 5.3, are highly object oriented and use a lot of classes, and a lot of inheritance, and a lot of php-documentor-blocks.

Also i can tell you, that this issue occures for the first time for me with Netbeans 6.8 on an Ubuntu-Machine. Therefor i worked with OpenSuse, where it never never happens...

Some weeks ago i reinstalled all Office-PC's with Ubuntu and reinstalled them again, and have always the same issue!

Upgrading to Netbeans 6.9.1 was not a solution, but this problem occurs now oftener then before with 6.8.

Kind Regards,
please feel free to let me know if i can help to find a solution!
cimodev
Comment 1 Petr Pisl 2010-10-06 12:48:00 UTC
Could you please try create a snapshot of NetBeans when it happens? How to do it I have wrote on our blog: http://blogs.sun.com/netbeansphp/entry/is_the_ide_slow_send

Thanks.
Comment 2 Petr Pisl 2010-10-06 12:53:15 UTC
Please, also attach the message.log file when it happens. Thanks. 

I'm downgrading to P2 until we will not have a data that will help us to fix it.
Comment 3 Filip Zamboj 2010-11-15 12:10:50 UTC
@reporter: are you still able to reproduce this issue? If yes, then attach required information please, and reopen the issue. thanks.