LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2011, 03:17 AM   #1
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Rep: Reputation: 40
13.37, 2.6.38 kernel and NetBeans


Hi!

Had a big problems with NetBeans (6.9.1 and 7.0) on Slackware current (13.37) with kernel 2.6.38. NetBeans UI responsiveness was very low: after few seconds freezes, window must loose focus to render changes.

Problem solved by returning to 2.6.37 kernel.

Any ideas what can cause this behavior?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-14-2011, 03:31 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Pretty sure it's not switching the kernel that solved your issue, but the reboot itself.
(Unless you went from a kernel with large memory support, to one that couldn't "see" all of your RAM, or vice versa).

Try switching to a lighter Windows Manager for a bit and see if you come across the same issue.

Also, take a look at your system's available RAM and the load via "top" and see what NetBeans is doing.
Then reboot to the other kernel and see if you're missing a huge chunk.

Good luck!
 
2 members found this post helpful.
Old 05-14-2011, 11:24 AM   #3
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Original Poster
Rep: Reputation: 40
Hi xeleema,

already have tried all you have mentioned before decreased kernel (switched from kde to xfce, than to plain X with Netbeans as the only active app, rebooted several times). Also, top showed 10-25% cpu usage of 'java' process. However, I have forget to check RAM.

Best regards,
 
Old 05-14-2011, 08:09 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
What graphics driver are you using? (In other words, are you using an Nvidia card with the open source driver?)
 
Old 05-15-2011, 12:38 AM   #5
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Original Poster
Rep: Reputation: 40
No, it's:

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
 
Old 05-16-2011, 01:41 AM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Did you look in ~/.netbeans/7.0/var/log/messages.log to see what netbeans chose for your memory settings? You'll see something like...
Code:
Input arguments:
        -Djdk.home=/usr/lib64/java
        -Dnetbeans.system_http_proxy=DIRECT
        -Dnetbeans.system_http_non_proxy_hosts=
        -Dnetbeans.dirs=[I've deleted the rather long classpath that was here.]
        -Dnetbeans.home=/home/me/netbeans-7.0/platform
        -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
        -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense
        -Xmx768m
        -Xss2m
        -Xms32m
        -XX:PermSize=32m
        -XX:MaxPermSize=384m
        -Dapple.laf.useScreenMenuBar=true
        -Dapple.awt.graphics.UseQuartz=true
        -Dsun.java2d.noddraw=true
        -XX:+HeapDumpOnOutOfMemoryError
        -XX:HeapDumpPath=/home/me/.netbeans/7.0/var/log/heapdump.hprof
Compiler: HotSpot 64-Bit Server Compiler
Heap memory usage: initial 32.0MB maximum 682.7MB
Non heap memory usage: initial 34.4MB maximum 432.0MB
Garbage collector: PS Scavenge (Collections=13 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s)
Classes: loaded=7644 total loaded=7644 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 4,150,456,320
...and the bolded lines should tell you how much memory Netbeans is using and how much it thinks that you have.

I haven't upgraded to 13.37 yet, but Netbeans 7.0 has been running quite well on this machine. That includes a project with ~22K java source files.

(EDIT: Duh, that would be on a Slackware64 version 13.1 box.)

Last edited by Richard Cranium; 05-16-2011 at 11:43 PM.
 
1 members found this post helpful.
Old 05-16-2011, 10:33 AM   #7
rouvas
Member
 
Registered: Aug 2006
Location: Greece
Distribution: Slackware.12.2
Posts: 104
Blog Entries: 3

Rep: Reputation: 21
I report that running NetBeans.7.0 on a stock Slack.13.37 installation with ATI Radeon HD 4250 (as reported by lspci) poses no problem at all.
 
Old 05-17-2011, 04:54 AM   #8
ajevremovic
Member
 
Registered: May 2011
Location: Serbia
Posts: 82

Original Poster
Rep: Reputation: 40
I have this in log file:
Code:
Heap memory usage: initial 32.0MB maximum 386.7MB
Non heap memory usage: initial 54.2MB maximum 438.0MB  
Garbage collector: Copy (Collections=29 Total time spent=0s)
Garbage collector: MarkSweepCompact (Collections=0 Total time spent=0s)
Classes: loaded=6690 total loaded=6690 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 2,095,423,488
Anyway, if rouvas has no problems with clean install, problem is likely about some of my upgrades.

Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! C/C++ on netbeans Zac Matthew Joseph Linux - Newbie 7 04-08-2010 05:50 AM
netbeans for C++ iqbala Ubuntu 3 10-05-2009 11:35 AM
Netbeans 6.7 sniff SUSE / openSUSE 0 07-25-2009 03:59 PM
netbeans 6 minhajhussan Linux - Software 2 04-26-2008 04:35 AM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration