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 244806 - Remote Desktop slow performance
Summary: Remote Desktop slow performance
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-30 09:10 UTC by mawa11
Modified: 2016-12-03 21:04 UTC (History)
1 user (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 mawa11 2014-05-30 09:10:04 UTC
Hi,
Why are Netbeans 8.0 so extremely slow over Remote Desktop (win7)? Screen updates is  really slow and it updates every time I type a letter or open a new file for edit so its really painful. What can I do to make it faster? Bug?

I have tried change the option sun.java2d.noddraw to false with no result. Please help!

netbeans_install_folder\etc\netbeans.conf

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=false -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"
Comment 1 Marian Petras 2014-12-02 19:52:11 UTC
I just confirm what 'mawa11' wrote. I would like to use NetBeans over RDP but it is so slow that it is simply unusable.

It is not caused by a slow network connection - other (non-Java) applications work without trouble.
The CPUs are also fast enough on both the client side and the server side.
I also confirm that toggling the "sun.java2d.noddraw" does not make any noticeable difference.

--
NetBeans 8.0.2
JDK 8u25 server VM (64-bit)
Windows 7 (64-bit)
16 GB RAM
Comment 2 Marian Petras 2015-01-19 19:59:58 UTC
I found that switching the NetBeans L&F to Metal helps a lot (i.e. it makes the IDE usable, yet not comfortable).
Comment 3 Martin Balin 2016-07-07 07:30:39 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 4 abc159abc 2016-12-03 20:54:13 UTC
Hi,
I am using NetBeans 8.2 and it still happens.
Comment 5 abc159abc 2016-12-03 21:04:56 UTC
Apparently direct draw is disabled by default.
Modifying the default options in netbeans.conf from:
	-J-Dsun.java2d.noddraw=true
to:
	-J-Dsun.java2d.noddraw=false
Makes it render much faster.
Is there a reason for this to be disabled by default?