NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans 6.8 maxes out the CPU

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
risingfish



Joined: 18 Jun 2009
Posts: 10

PostPosted: Mon Apr 26, 2010 2:40 pm    Post subject: Netbeans 6.8 maxes out the CPU Reply with quote

Hello,

I've been using Netbeans 6.8 for PH development for months now without issue. Late last week, it started began to max out one of the cores on my dual core system. It pretty much stays maxed now, regardless of what's open. I've closed all my projects, and it is still running one core at 100%. Any idea what might be going on?


I'm running NB 6.8 on:
Ubuntu 9.04
Sun Java
6 GB RAM

Thanks!
Back to top
John Lussmyer
Posted via mailing list.





PostPosted: Mon Apr 26, 2010 2:45 pm    Post subject: Netbeans maxes out the CPU Reply with quote

Whenever that happens on my Win machine, I've found it best to just shutdown NetBeans and restart.
If you continue working, it WILL crash eventually, loosing some of your recent edits.

Quote:
-----Original Message-----
From: risingfish [mailto:address-removed]
Sent: Monday, April 26, 2010 7:40 AM
To: address-removed
Subject: [nbusers] Netbeans maxes out the CPU

Hello,

I've been using Netbeans 6.8 for PH development for months now without
issue. Late last week, it started began to max out one of the cores on
my dual core system. It pretty much stays maxed now, regardless of
what's open. I've closed all my projects, and it is still running one
core at 100%. Any idea what might be going on?


I'm running NB 6.8 on:
Ubuntu 9.04
Sun Java
6 GB RAM


Back to top
Johannes Homuth
Posted via mailing list.





PostPosted: Mon Apr 26, 2010 2:48 pm    Post subject: Netbeans maxes out the CPU Reply with quote

Does the IDE log provide some useful informations (View -> IDE-Log)?

risingfish wrote:
Quote:
Hello,

I've been using Netbeans 6.8 for PH development for months now without issue. Late last week, it started began to max out one of the cores on my dual core system. It pretty much stays maxed now, regardless of what's open. I've closed all my projects, and it is still running one core at 100%. Any idea what might be going on?


I'm running NB 6.8 on:
Ubuntu 9.04
Sun Java
6 GB RAM







--
B.Sc. Johannes Homuth

-------------------------------------------------------
SOURCEPARK GmbH
Helmholtzstr. 2-9, Geb
Back to top
David Rotherham



Joined: 26 Apr 2010
Posts: 6
Location: Woking United Kingdom

PostPosted: Mon Apr 26, 2010 2:51 pm    Post subject: Reply with quote

I was reading something about this a couple of weeks back (when I hit the same problem) - there were some messages between a guy who had this & some netbeans developer. They didn't come to clear fix but the final suggestion in the thread was to use the latest (I think pre-release) version of Netbeans which is avalable on the website 6.9M1. Think it's something to do with background scanning. I found it goes away if you cloase and re-open Netbeans.
Back to top
risingfish



Joined: 18 Jun 2009
Posts: 10

PostPosted: Mon Apr 26, 2010 2:59 pm    Post subject: Reply with quote

Hey, thanks for the replies!

I've closed it down and re-opened, even rebooted, and the minute I open NB back up the core goes to 100% and stays.

Here's the latest from the logs:

Code:

Heap memory usage: initial 32.0MB maximum 455.1MB
Non heap memory usage: initial 34.4MB maximum 348.0MB
Garbage collector: PS Scavenge (Collections=8 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s)
Classes: loaded=4803 total loaded=4803 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 6,180,118,528
WARNING [org.netbeans.modules.gsf.LanguageRegistry]: No GsfLanguage instance registered in GsfPlugins/text/x-php5
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: Unpaired license 8E1C1C33 without any module.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: running on javahl
WARNING [org.openide.text.CloneableEditorSupport]: org.netbeans.modules.csl.core.GsfDataObject$GenericEditorSupport should override asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide-text/apichanges.html#CloneableEditorSupport.asynchronousOpen
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 768 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/netbeans-6.8/php1/phpstubs/phpruntime
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/netbeans-6.8/php1/phpstubs/phpruntime/ took: 965 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 1 source roots took: 965 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/.netbeans/6.8/config/PHP/RuntimeLibraries
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: nbfs://nbhost/SystemFileSystem/PHP/RuntimeLibraries/ took: 233 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/contrib/zend/ZendFramework/library/Zend
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/contrib/zend/ZendFramework/library/Zend/ took: 40 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/common/fitnesslibrary
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/common/fitnesslibrary/ took: 110 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/assets/javascript
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/assets/javascript/ took: 125 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/common/PHP
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/common/PHP/ took: 77 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/common/HTML
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/common/HTML/ took: 55 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/local/ofc
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/local/ofc/ took: 51 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/clientside
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/clientside/ took: 28 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/netbeans-6.8/ide12/jsstubs/allstubs.zip
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: jar:file:/home/zac/netbeans-6.8/ide12/jsstubs/allstubs.zip!/ took: 27 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 9 source roots took: 746 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 295244 entries. Elapsed time: 48700 ms.
WARNING [org.netbeans.modules.editor.impl.KitsTrackerImpl]: No mime type uses editor kit implementation class: class org.netbeans.modules.csl.core.GsfEditorKitFactory$GsfEditorKit
WARNING [org.netbeans.swing.tabcontrol.plaf.GtkViewTabDisplayerUI]: painter.paintTabbedPaneTabBackground1 takes too long x=0 y=0 w=353 h=21 index:0 Time=833


Thanks!
Back to top
Jim Newsham
Posted via mailing list.





PostPosted: Mon Apr 26, 2010 8:45 pm    Post subject: Netbeans 6.8 maxes out the CPU Reply with quote

When that type of problem happens for me and restarting doesn't resolve
it, I am able to resolve it by shutting down NetBeans, deleting
NetBeans' cache directory, and then starting NetBeans again. The cache
dir can be found at ~/.netbeans/6.8/var/cache (where "~" is your home
directory; on Windows that might be "C:\Documents and Settings\{your
Windows login name}").

Jim

On 4/26/2010 4:59 AM, risingfish wrote:
Quote:
Hey, thanks for the replies!

I've closed it down and re-opened, even rebooted, and the minute I open NB back up the core goes to 100% and stays.

Here's the latest from the logs:


Code:

Heap memory usage: initial 32.0MB maximum 455.1MB
Non heap memory usage: initial 34.4MB maximum 348.0MB
Garbage collector: PS Scavenge (Collections=8 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s)
Classes: loaded=4803 total loaded=4803 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 6,180,118,528
WARNING [org.netbeans.modules.gsf.LanguageRegistry]: No GsfLanguage instance registered in GsfPlugins/text/x-php5
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: Unpaired license 8E1C1C33 without any module.
INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: running on javahl
WARNING [org.openide.text.CloneableEditorSupport]: org.netbeans.modules.csl.core.GsfDataObject$GenericEditorSupport should override asynchronousOpen(). See http://bits.netbeans.org/dev/javadoc/org-openide-text/apichanges.html#CloneableEditorSupport.asynchronousOpen
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 768 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 source roots took: 0 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/netbeans-6.8/php1/phpstubs/phpruntime
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/netbeans-6.8/php1/phpstubs/phpruntime/ took: 965 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 1 source roots took: 965 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/.netbeans/6.8/config/PHP/RuntimeLibraries
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: nbfs://nbhost/SystemFileSystem/PHP/RuntimeLibraries/ took: 233 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/contrib/zend/ZendFramework/library/Zend
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/contrib/zend/ZendFramework/library/Zend/ took: 40 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/common/fitnesslibrary
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/common/fitnesslibrary/ took: 110 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/assets/javascript
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/assets/javascript/ took: 125 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/common/PHP
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/common/PHP/ took: 77 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/branch/common/HTML
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/branch/common/HTML/ took: 55 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/Code/local/ofc
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/Code/local/ofc/ took: 51 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/clientside
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/zac/clientside/ took: 28 ms (New or modified files: 0, Deleted files: 0)
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: /home/zac/netbeans-6.8/ide12/jsstubs/allstubs.zip
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: jar:file:/home/zac/netbeans-6.8/ide12/jsstubs/allstubs.zip!/ took: 27 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 9 source roots took: 746 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 295244 entries. Elapsed time: 48700 ms.
WARNING [org.netbeans.modules.editor.impl.KitsTrackerImpl]: No mime type uses editor kit implementation class: class org.netbeans.modules.csl.core.GsfEditorKitFactory$GsfEditorKit
WARNING [org.netbeans.swing.tabcontrol.plaf.GtkViewTabDisplayerUI]: painter.paintTabbedPaneTabBackground1 takes too long x=0 y=0 w=353 h=21 index:0 Time=833




Thanks!




Back to top
risingfish



Joined: 18 Jun 2009
Posts: 10

PostPosted: Mon Apr 26, 2010 10:54 pm    Post subject: Reply with quote

Deleting the cache did the trick. The processor is running normal now. Thanks for all the help.
Back to top
Mike Riley
Posted via mailing list.





PostPosted: Thu May 13, 2010 1:28 pm    Post subject: Netbeans 6.8 maxes out the CPU Reply with quote

risingfish wrote:
Quote:
Deleting the cache did the trick. The processor is running normal now. Thanks for all the help.

I am curious as to just what this cache is used for and what is affected
when you delete the cache in this way?

Mike
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo