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 188083 - open a project takes 5-10 mins and some times more
Summary: open a project takes 5-10 mins and some times more
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Smarty (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: PERFORMANCE
: 188555 199736 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-25 07:59 UTC by musavirkahn
Modified: 2011-09-23 09:10 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
memory dump file (3.06 MB, application/octet-stream)
2010-06-25 07:59 UTC, musavirkahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description musavirkahn 2010-06-25 07:59:13 UTC
Created attachment 100415 [details]
memory dump file

open a project takes 5-10 mins and some times more. project does not use any of the frameworks, its a mercurial repository clone. it is a faily big project about 3k .php files and the project is about 20Mb in size. attached a memory dump prepared by netbeans 6.9. its finished before the open project operation could complete.
Comment 1 Filip Zamboj 2010-09-15 12:32:09 UTC
batch reassigning
Comment 2 Tomas Mysik 2011-06-08 12:12:31 UTC
Caused by Smarty PHP plugin, should be fixed already I think.
Comment 3 Martin Fousek 2011-06-10 07:56:20 UTC
Right it's Smarty related. It was fixed for Smarty projects but for non-Smarty the problem remains.

There is possible in Options window to set up level of depth by scanning for TPL files. If this level is set to high, slownesses can happen. But there is no way how to wa that.

At least I did there following changes:
- decrement maximal level for scanning (max. is level 3 of subdirs now)
- added warning about set higher than first subdirectory level

Changes done in:
http://hg.netbeans.org/main/contrib/rev/0c71ba95405b
Comment 4 Tomas Mysik 2011-06-10 09:48:12 UTC
*** Bug 188555 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Mysik 2011-06-10 09:49:32 UTC
Definitely P2.

Please provide a new version of your plugin soon. Thanks.
Comment 6 Martin Fousek 2011-06-14 15:14:39 UTC
Ok, was fixed in http://hg.netbeans.org/main/contrib/rev/0968c6e92899.
Now, I will upload plugin onto Plugin Portal so please update to new version 1.50.1 when will be available.
Comment 7 Martin Fousek 2011-06-15 09:20:22 UTC
The plugin has to be signed perhaps by Jirka K., I'm adding him to CC and I already asked him for doing that over email (with attached .nbm). I believe that it will be available before NB701 release on UC.
Comment 8 Jiri Kovalsky 2011-06-20 09:27:01 UTC
FYI, the Smarty plugin is now also available through the Plugin Portal Update Center (Tools > Plugins > Available tab).
Comment 9 Martin Fousek 2011-06-20 17:01:15 UTC
Thanks Jirka, I'm afraid that there happens some dependency troubles so I deleted the verification again and I will try to resolve it tomorrow in the work. Thanks for now.
Comment 10 Tomas Mysik 2011-06-27 11:29:11 UTC
*** Bug 199536 has been marked as a duplicate of this bug. ***
Comment 11 Tomas Mysik 2011-06-27 15:19:20 UTC
*** Bug 199736 has been marked as a duplicate of this bug. ***
Comment 12 Quality Engineering 2011-08-27 14:11:26 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/729ed5554755
User: Martin Fousek <marfous@netbeans.org>
Log: #188083 - open a project takes 5-10 mins and some times more
Comment 13 Vladimir Riha 2011-09-23 09:10:03 UTC
verified (Smarty plugin has option to set level of scanning)