- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
处理器:
64 bit OS Ubuntu server 64 bit
JAVA:
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
我正在尝试将 Virgo Web 服务器从 EclipseRT 连接到 Visual vm 以进行内存分析。
Memory profiling is not available (Not available. Failed to read objects in target application. Check the logfile for details (use Help | About | Logfile).)
当我在日志中检查 Vsual vm 时,Visual vm 日志中的错误为:
"com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded"
Both uses same JVM Open jdk
Visual VM Overview
ID: 15414
Host: localhost
Main class: org.netbeans.Main
Arguments: --userdir /root/.visualvm/1.3.2 --branding visualvm
JVM: OpenJDK 64-Bit Server VM (23.7-b01, mixed mode)
Java: version 1.7.0_15, vendor Oracle Corporation
Java Home: /usr/lib/jvm/java-7-openjdk-amd64/jre
JVM Flags: <none>
Virgo Web server Overview
PID: 1483
Host: localhost
Main class: org.eclipse.equinox.launcher.Main
Arguments: -noExit
JVM: OpenJDK 64-Bit Server VM (23.7-b01, mixed mode)
Java: version 1.7.0_15, vendor Oracle Corporation
Java Home: /usr/lib/jvm/java-7-openjdk-amd64/jre
JVM Flags: <none>
当我用谷歌搜索时,发现两者都应该在同一用户上运行。 Visual vm 以“root”用户身份运行,Virgo 以“test”用户身份运行。
我尝试以测试用户身份启动 viusal,但出现以下错误:
test@ubuntuz620:/home/random$ jvisualvm --jdkhome /usr/lib/jvm/java-1.7.0-openjdk-amd64
/usr/share/netbeans/platform12/lib/nbexec: line 66: cd: /home/random: Permission denied
/usr/share/netbeans/platform12/lib/nbexec: line 66: cd: /home/random: Permission denied
No protocol specified
No protocol specified
test@ubuntuz620:/home/random$
提前感谢普拉卡什
附有 Viusalvm 的完整日志消息
<小时/> Log Session: Wednesday, March 20, 2013 10:52:38 AM IST
System Info:
Product Version = VisualVM 1.3.2
Operating System = Linux version 3.2.0-39-generic running on amd64
Java; VM; Vendor = 1.7.0_15; OpenJDK 64-Bit Server VM 23.7-b01; Oracle Corporation
Runtime = OpenJDK Runtime Environment 1.7.0_15-b20
Java Home = /usr/lib/jvm/java-7-openjdk-amd64/jre
System Locale; Encoding = en_IN (visualvm); UTF-8
Home Directory = /root
Current Directory = /home/sentinel
User Directory = /root/.visualvm/1.3.2
Installation = /usr/lib/visualvm/visualvm
/usr/lib/visualvm/profiler
/usr/share/netbeans/platform12
Boot & Ext. Classpath = /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/pulse-java.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar
Application Classpath = /usr/share/netbeans/platform12/lib/boot.jar:/usr/share/netbeans/platform12/lib/org-openide-modules.jar:/usr/share/netbeans/platform12/lib/org-openide-util.jar:/usr/share/netbeans/platform12/lib/org-openide-util-lookup.jar:/usr/share/netbeans/platform12/lib/locale/boot_ja.jar:/usr/share/netbeans/platform12/lib/locale/boot_pt_BR.jar:/usr/share/netbeans/platform12/lib/locale/boot_zh_CN.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-modules_ja.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-modules_pt_BR.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-modules_zh_CN.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-util_ja.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-util-lookup_ja.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-util-lookup_pt_BR.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-util-lookup_zh_CN.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-util_pt_BR.jar:/usr/share/netbeans/platform12/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-1.7.0-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-1.7.0-openjdk-amd64/lib/tools.jar
Startup Classpath = /usr/share/netbeans/platform12/core/core.jar:/usr/share/netbeans/platform12/core/org-openide-filesystems.jar:/usr/share/netbeans/platform12/core/locale/core_ja.jar:/usr/share/netbeans/platform12/core/locale/org-openide-filesystems_pt_BR.jar:/usr/share/netbeans/platform12/core/locale/core_pt_BR.jar:/usr/share/netbeans/platform12/core/locale/org-openide-filesystems_ja.jar:/usr/share/netbeans/platform12/core/locale/core_zh_CN.jar:/usr/share/netbeans/platform12/core/locale/org-openide-filesystems_zh_CN.jar:/usr/lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar:/usr/lib/visualvm/visualvm/core/locale/core_visualvm.jar
<小时/>
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util.lookup [8.3.1 100825-unknown-revn]
org.openide.util [8.6.1 100825-unknown-revn]
org.openide.modules [7.17.1 100825-unknown-revn]
org.openide.awt [7.23.1 100825-unknown-revn]
org.netbeans.api.progress/1 [1.20.1 100825-unknown-revn]
org.openide.dialogs [7.15.1 100825-unknown-revn]
org.openide.nodes [7.16.1 100825-unknown-revn]
org.openide.windows [6.33.1 100825-unknown-revn]
org.openide.io [1.23.1 100825-unknown-revn]
org.netbeans.core.io.ui/1 [1.8.1 100825-unknown-revn]
org.openide.filesystems [7.38.1 100825-unknown-revn]
org.netbeans.modules.editor.mimelookup/1 [1.16.1 100825-unknown-revn]
org.openide.text [6.30.1 100825-unknown-revn]
org.netbeans.swing.tabcontrol [1.21.1 100825-unknown-revn]
org.netbeans.swing.outline [1.9.1 100825-unknown-revn]
org.openide.explorer [6.28.1 100825-unknown-revn]
org.openide.actions [6.16.1 100825-unknown-revn]
org.netbeans.lib.profiler/1 [1.10.2 120606-unknown-revn]
org.netbeans.lib.profiler.common/1 [1.10.2 120606-unknown-revn]
org.netbeans.bootstrap/1 [2.33.1 100825-unknown-revn]
org.netbeans.core.startup/1 [1.25.1 100825-unknown-revn]
org.netbeans.spi.quicksearch [1.6.1 100825-unknown-revn]
org.netbeans.modules.queries/1 [1.19.1 100825-unknown-revn]
org.openide.loaders [7.16.1 100825-unknown-revn]
org.netbeans.libs.jna/1 [1.7.1 100825-unknown-revn]
org.netbeans.modules.keyring [1.1.1 100825-unknown-revn]
org.netbeans.swing.plaf [1.16.1 100825-unknown-revn]
org.netbeans.core/2 [3.20.1 100825-unknown-revn]
org.netbeans.modules.options.api/1 [1.18.1 100825-unknown-revn]
org.netbeans.api.annotations.common/1 [1.5.1 100825-unknown-revn]
org.netbeans.modules.profiler.oql/0 [0.5.1 120606-unknown-revn]
org.openide.execution [1.18.1 100825-unknown-revn]
org.netbeans.lib.profiler.charts/1 [1.6.1 120606-unknown-revn]
org.netbeans.lib.profiler.ui/1 [1.9.2 120606-unknown-revn]
org.netbeans.modules.profiler/1 [1.17.2 120606-unknown-revn]
com.sun.tools.visualvm.modules.startup [1.0 120606]
org.netbeans.modules.settings/1 [1.26.1 100825-unknown-revn]
org.netbeans.core.windows/2 [2.21.1 100825-unknown-revn]
com.sun.tools.visualvm.uisupport/0 [1.0 120606]
org.netbeans.modules.autoupdate.services [1.20.1 100825-unknown-revn]
org.netbeans.modules.sendopts/2 [2.9.1 100825-unknown-revn]
com.sun.tools.visualvm.core/0 [1.4 120606]
com.sun.tools.visualvm.host/0 [1.0 120606]
com.sun.tools.visualvm.application/0 [1.4 120606]
com.sun.tools.visualvm.tools/0 [1.2 120606]
com.sun.tools.visualvm.modules.extensions/0 [1.5 110224]
org.netbeans.core.nativeaccess/1 [1.7.1 100825-unknown-revn]
org.ow2.chameleon.management.beans [0.9.1 0.9.1 091124]
org.ow2.chameleon.management.visual [0.9 0.9 091120]
com.sun.appserv.management [1.0 110224]
com.sun.tools.visualvm.host.remote/0 [1.0 120606]
org.netbeans.core.ui/1 [1.22.1 100825-unknown-revn]
com.sun.tools.visualvm.jmx/0 [1.2 120606]
org.netbeans.modules.progress.ui [1.12.1 100825-unknown-revn]
org.netbeans.modules.editor.mimelookup.impl/1 [1.9.1 100825-unknown-revn]
com.sun.tools.visualvm.profiling/0 [1.0 120606]
com.sun.tools.visualvm.profiler/0 [1.1 120606]
com.sun.tools.visualvm.jvmstat/0 [1.0 120606]
com.sun.tools.visualvm.modules.appui [1.0 120606]
org.netbeans.modules.print [7.5.1 100825-unknown-revn]
org.netbeans.modules.javame.profiler [1.0 090525]
com.sun.tools.visualvm.coredump/0 [1.0 120606]
com.sun.tools.visualvm.heapdump/0 [1.1 120606]
com.sun.tools.visualvm.threaddump/0 [1.0 120606]
com.sun.tools.visualvm.sampler [2.0 120606]
com.sun.tools.visualvm.sa/0 [1.0 120606]
com.sun.tools.visualvm.charts/0 [1.0 120606]
com.sun.tools.visualvm.application.views/0 [1.0 120606]
org.netbeans.modules.autoupdate.ui [1.16.1 100825-unknown-revn]
com.sun.tools.visualvm.host.views/0 [1.0 120606]
com.sun.tools.visualvm.modules.visualgc [2.1.1 100921]
com.sun.tools.visualvm.attach/0 [1.1 120606]
com.sun.tools.visualvm.jvm/0 [1.1 120606]
net.java.visualvm.modules.glassfish [1.4 110224]
com.sun.tools.visualvm.modules.buffermonitor/0 [1.5 110224]
org.netbeans.modules.masterfs/2 [2.25.1 100825-unknown-revn]
Diagnostic information
Input arguments:
-Djdk.home=/usr/lib/jvm/java-1.7.0-openjdk-amd64
-Djava.library.path=/usr/lib/jni
-Dnetbeans.system_http_proxy=http://web-proxy.sgp.hp.com:8080/
-Dnetbeans.system_http_non_proxy_hosts=
-Dnetbeans.dirs=/usr/lib/visualvm/visualvm:/usr/lib/visualvm/profiler:
-Dnetbeans.home=/usr/share/netbeans/platform12
-Xms24m
-Xmx256m
-Dnetbeans.accept_license_class=com.sun.tools.visualvm.modules.startup.AcceptLicense
-Dsun.jvmstat.perdata.syncWaitMs=10000
-Dsun.java2d.noddraw=true
-Dsun.java2d.d3d=false
Compiler: HotSpot 64-Bit Tiered Compilers
Heap memory usage: initial 24.0MB maximum 227.6MB
Non heap memory usage: initial 23.2MB maximum 214.0MB
Garbage collector: PS Scavenge (Collections=8 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s)
Classes: loaded=4666 total loaded=4666 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 12,528,062,464
INFO [null]: Total physical memory 12,528,062,464
WARNING [org.openide.filesystems.Ordering]: Found same position 600 for both Menu/File/com-sun-tools-visualvm-jmx-impl-AddJMXConnectionAction-alwaysEnabled.shadow and Menu/File/org-netbeans-modules-javame-profiler-ImportWtkSnapshotAction.instance
INFO [com.sun.tools.visualvm.attach.AttachModelImpl]: printFlag
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.sun.tools.visualvm.attach.AttachModelImpl.getVirtualMachine(AttachModelImpl.java:124)
Caused: java.io.IOException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at com.sun.tools.visualvm.attach.AttachModelImpl.getVirtualMachine(AttachModelImpl.java:126)
at com.sun.tools.visualvm.attach.AttachModelImpl.printFlag(AttachModelImpl.java:89)
at com.sun.tools.visualvm.jvm.JVMImpl.isDumpOnOOMEnabled(JVMImpl.java:212)
at com.sun.tools.visualvm.heapdump.impl.HeapDumpOnOOMEAction.updateState(HeapDumpOnOOMEAction.java:83)
at com.sun.tools.visualvm.heapdump.impl.HeapDumpOnOOMEAction.isEnabled(HeapDumpOnOOMEAction.java:77)
at com.sun.tools.visualvm.heapdump.impl.HeapDumpOnOOMEAction.isEnabled(HeapDumpOnOOMEAction.java:46)
at com.sun.tools.visualvm.core.ui.actions.SingleDataSourceAction.updateState(SingleDataSourceAction.java:77)
at com.sun.tools.visualvm.heapdump.impl.HeapDumpOnOOMEAction.updateState(HeapDumpOnOOMEAction.java:98)
at com.sun.tools.visualvm.core.ui.actions.DataSourceAction.initialize(DataSourceAction.java:90)
at com.sun.tools.visualvm.core.ui.actions.DataSourceAction.doInitialize(DataSourceAction.java:122)
at com.sun.tools.visualvm.core.ui.actions.DataSourceAction.isEnabled(DataSourceAction.java:99)
at com.sun.tools.visualvm.core.explorer.ExplorerContextMenuFactory.getActions(ExplorerContextMenuFactory.java:171)
at com.sun.tools.visualvm.core.explorer.ExplorerContextMenuFactory.getSelectionActions(ExplorerContextMenuFactory.java:127)
at com.sun.tools.visualvm.core.explorer.ExplorerContextMenuFactory.getActions(ExplorerContextMenuFactory.java:121)
at com.sun.tools.visualvm.core.explorer.ExplorerContextMenuFactory.createPopupMenu(ExplorerContextMenuFactory.java:73)
at com.sun.tools.visualvm.core.explorer.ExplorerComponent.displayContextMenu(ExplorerComponent.java:205)
at com.sun.tools.visualvm.core.explorer.ExplorerComponent.access$800(ExplorerComponent.java:70)
at com.sun.tools.visualvm.core.explorer.ExplorerComponent$ExplorerTreeMouseAdapter.mousePressed(ExplorerComponent.java:248)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
at java.awt.Component.processMouseEvent(Component.java:6502)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
at com.sun.tools.visualvm.core.explorer.ExplorerComponent$1.processMouseEvent(ExplorerComponent.java:112)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at org.netbeans.core.TimableEventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
WARNING [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: http://visualvm.java.net/uc/release132/updates.xml.gz?unique=0d024cfda-1513-4fe5-a510-4c3f07ec2cbe_d9068500-fc6f-48c3-bd0e-3ccef01d3714:224:18: The content of element type "module_updates" must match "((notification?,(module_group|module)*,license*)|error)".
INFO [com.sun.tools.visualvm.attach.AttachModelImpl]: getSystemProperties
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.sun.tools.visualvm.attach.AttachModelImpl.getVirtualMachine(AttachModelImpl.java:124)
Caused: java.io.IOException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at com.sun.tools.visualvm.attach.AttachModelImpl.getVirtualMachine(AttachModelImpl.java:126)
at com.sun.tools.visualvm.attach.AttachModelImpl.getSystemProperties(AttachModelImpl.java:56)
at com.sun.tools.visualvm.jvm.JVMImpl.getSystemProperties(JVMImpl.java:286)
at com.sun.tools.visualvm.application.views.overview.ApplicationOverviewModel.initialize(ApplicationOverviewModel.java:229)
at com.sun.tools.visualvm.application.views.overview.ApplicationOverviewModel.initialize(ApplicationOverviewModel.java:135)
at com.sun.tools.visualvm.application.views.overview.ApplicationOverviewView.willBeAdded(ApplicationOverviewView.java:56)
at com.sun.tools.visualvm.core.ui.DataSourceView.viewWillBeAdded(DataSourceView.java:163)
at com.sun.tools.visualvm.core.ui.DataSourceWindowManager.addViews(DataSourceWindowManager.java:247)
at com.sun.tools.visualvm.core.ui.DataSourceWindowManager.openWindowAndAddView(DataSourceWindowManager.java:181)
at com.sun.tools.visualvm.core.ui.DataSourceWindowManager.access$000(DataSourceWindowManager.java:50)
[catch] at com.sun.tools.visualvm.core.ui.DataSourceWindowManager$1.run(DataSourceWindowManager.java:100)
at org.openide.util.RequestProcessor$Task.run(Unknown Source)
at org.openide.util.RequestProcessor$Processor.run(Unknown Source)
INFO [com.sun.tools.visualvm.attach.AttachModelImpl]: getSystemProperties
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.sun.tools.visualvm.attach.AttachModelImpl.getVirtualMachine(AttachModelImpl.java:124)
Caused: java.io.IOException: Unable to open socket file: target process not responding or HotSpot VM not loaded
at com.sun.tools.visualvm.attach.AttachModelImpl.getVirtualMachine(AttachModelImpl.java:126)
at com.sun.tools.visualvm.attach.AttachModelImpl.getSystemProperties(AttachModelImpl.java:56)
at com.sun.tools.visualvm.jvm.JVMImpl.getSystemProperties(JVMImpl.java:286)
at com.sun.tools.visualvm.profiler.ProfilerSupport.classSharingBreaksProfiling(ProfilerSupport.java:118)
at com.sun.tools.visualvm.profiler.ApplicationProfilerView.willBeAdded(ApplicationProfilerView.java:147)
at com.sun.tools.visualvm.core.ui.DataSourceView.viewWillBeAdded(DataSourceView.java:163)
at com.sun.tools.visualvm.core.ui.DataSourceWindowManager.addViews(DataSourceWindowManager.java:247)
at com.sun.tools.visualvm.core.ui.DataSourceWindowManager.openWindowAndAddView(DataSourceWindowManager.java:181)
at com.sun.tools.visualvm.core.ui.DataSourceWindowManager.access$000(DataSourceWindowManager.java:50)
[catch] at com.sun.tools.visualvm.core.ui.DataSourceWindowManager$1.run(DataSourceWindowManager.java:100)
at org.openide.util.RequestProcessor$Task.run(Unknown Source)
at org.openide.util.RequestProcessor$Processor.run(Unknown Source)
最佳答案
您是否尝试过使用测试用户通过 ssh 连接服务器?
尝试一下
ssh test@yourmachine -X
这是因为与一个用户进行 ssh-ing,然后使用另一用户的 sudo 运行 jvisualvm 可能会导致此问题...
顺便说一句,对我有用的是将 .Xauthority 文件按原样(注意这是一个二进制文件)从根主目录复制到特定用户的主目录(在您的情况下进行测试)。
关于java - 内存分析 - VisualVM 和 Virgo,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15516862/
我刚刚继承了一个旧的 PostgreSQL 安装,需要进行一些诊断以找出该数据库运行缓慢的原因。在 MS SQL 上,您可以使用 Profiler 等工具来查看正在运行的查询,然后查看它们的执行计划。
将目标从Analytics(分析)导入到AdWords中,然后在Analytics(分析)中更改目标条件时,是否可以通过更改将目标“重新导入”到AdWords,还是可以自动选择? 最佳答案 更改目标值
我正在使用google analytics api来获取数据。我正在获取数据,但我想验证两个参数,它们在特定日期范围内始终为0。我正在获取['ga:transactions']和['ga:goalCo
我使用Google API从Google Analytics(分析)获取数据,但指标与Google Analytics(分析)的网络界面不同。 即:我在2015年3月1日获得数据-它返回综合浏览量79
我在我的Web应用程序中使用sammy.js进行剔除。我正在尝试向其中添加Google Analytics(分析)。我很快找到了following plugin来实现页面跟踪。 我按照步骤操作,页面如
当使用 Xcode 分析 (product>analyze) 时,有没有办法忽略给定文件中的任何错误? 例如编译指示之类的? 我们只想忽略第三方代码的任何警告,这样当我们的代码出现问题时,它对我们
目录 EFK 1. 日志系统 2. 部署ElasticSearch 2.1 创建handless服务 2.2 创建s
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 7年前关闭。 Improve thi
GCC/G++ 是否有可用于输出分析的选项? 能够比较以前的代码与新代码之间的差异(大小、类/结构的大小)将很有用。然后可以将它们与之前的输出进行比较以进行比较,这对于许多目的都是有用的。 如果没有此
我正在浏览 LYAH,并一直在研究处理列表时列表理解与映射/过滤器的使用。我已经分析了以下两个函数,并包含了教授的输出。如果我正确地阅读了教授的内容,我会说 FiltB 的运行速度比 FiltA 慢很
在 MySQL 中可以使用 SET profiling = 1; 设置分析 查询 SHOW PROFILES; 显示每个查询所用的时间。我想知道这个时间是只包括服务器的执行时间还是还包括将结果发送到前
我用 Python 编写了几个用于生成阶乘的模块,我想测试运行时间。我找到了一个分析示例 here我使用该模板来分析我的模块: import profile #fact def main():
前几天读了下mysqld_safe脚本,个人感觉还是收获蛮大的,其中细致的交代了MySQL数据库的启动流程,包括查找MySQL相关目录,解析配置文件以及最后如何调用mysqld程序来启动实例等,有着
上一篇:《人工智能大语言模型起源篇,低秩微调(LoRA)》 (14)Rae 和同事(包括78位合著者!)于2022年发表的《Scaling Language Models: Methods, A
1 内网基础 内网/局域网(Local Area Network,LAN),是指在某一区域内有多台计算机互联而成的计算机组,组网范围通常在数千米以内。在局域网中,可以实现文件管理、应用软件共享、打印机
1 内网基础 内网/局域网(Local Area Network,LAN),是指在某一区域内有多台计算机互联而成的计算机组,组网范围通常在数千米以内。在局域网中,可以实现文件管理、应用软件共享、打印机
我有四列形式的数据。前三列代表时间,value1,value 2。第四列是二进制,全为 0 或 1。当第四列中对应的二进制值为0时,有没有办法告诉excel删除时间、值1和值2?我知道这在 C++ 或
我正在运行一个进行长时间计算的 Haskell 程序。经过一些分析和跟踪后,我注意到以下内容: $ /usr/bin/time -v ./hl test.hl 9000045000050000 Com
我有一个缓慢的 asp.net 程序正在运行。我想分析生产服务器以查看发生了什么,但我不想显着降低生产服务器的速度。 一般而言,配置生产盒或仅本地开发盒是标准做法吗?另外,您建议使用哪些程序来实现这一
我目前正在尝试分析 Haskell 服务器。服务器永远运行,所以我只想要一个固定时间的分析报告。我尝试只运行该程序 3 分钟,然后礼貌地要求它终止,但不知何故,haskell 分析器不遵守术语信号,并
我是一名优秀的程序员,十分优秀!