SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.