“could not open perfmemory” / “local java applications cannot be monitored“
来源:互联网 发布:淘宝出售可非大力小泰 编辑:程序博客网 时间:2024/06/02 03:36
Today I encountered a strance error opening both Java Mission Control and VisualVM: “Could not open PerfMemory” and “Local Java applications cannot be monitored”:
After searching and testing for quite a while, I read the solution at the VisualVM troubleshooting guide:
Local Applications Cannot Be Monitored (Error Dialog On Startup)
Description: An error dialog saying that local applications cannot be monitored is shown immediately after VisualVM startup. Locally running Java applications are displayed as <Unknown Application> (pid ###).
Resolution: This can happen on Windows systems if the username contains capitalized letters. In this case, username is UserName but the jvmstat directory created by JDK is %TMP%\hsperfdata_username. To workaround the problem, exit all Java applications, delete the %TMP%\hsperfdata_username directory and create new %TMP%\hsperfdata_UserName directory.
That's it for this post. Hope I helped someone searching a little less for a solution for this little bugger. :)
如果你也遇到这个问题,请先检查Users/Jack(假如你的用户名是Jack)/AppData/Local/Temp/hsperfdata_Jack是否存在,问题就是hsperfdata_Jack这个文件夹的名称不能有大写,如果有大写,请关闭所有java进程,然后修改文件名到小写。
- “could not open perfmemory” / “local java applications cannot be monitored“
- VisualVM 使用:Local Applications Cannot Be Detected
- bitcode bundle could not be generated because '/Applications/Xcode.app
- Could not write JSON: java.lang.Integer cannot be cast to java.math.BigInteger
- 启动jvisualvm时,弹出错误消息,Local Applications Cannot Be Detected
- java之could not open jvm.cfg
- 完美解决:Could not open the editor: Editor could not be initialized
- 完美解决:Could not open the editor: Editor could not be initialized
- Could not open the editor: The editor class could not be instantiated.
- Application "XXX" could not be found in the registry. The applications available are: .
- Could not find/open
- PANIC: Could not open:
- Save could not be completed. Reason: some characters cannot be mapped using “ISO-8859-1“
- 运行apache时,发生错误:could not open error log file /usr/local/apache/logs/error_log
- could not open extension control file "/usr/local/pgsql/share/extension/fuzzystrmatch.control"
- WARNING: The host 'localhost' could not be looked up with /usr/local/mysql//bin/resolveip
- The java class could not be loaded. java.lang.UnsupportedClassVersionError
- spring + strut2 java.io.FileNotFoundException: Could not open ServletContext resource
- 鱼塘经济学理论又有新发展!
- Return_willnumber
- Tomcat结构以及处理一个请求的过程
- GPIO ,ioctl,file->private_data
- android edittext中输入特定字符 inputtype digits
- “could not open perfmemory” / “local java applications cannot be monitored“
- freemarker教程
- 生成子集——位向量法
- shiyan1连接oracle数据库试验
- MySQLWorkbench 双击无反应
- 一个App完成入门篇(三)-完善主框架 企
- 在Android应用中读取彩信文件
- Windows 和Linux利用tftp协议传送文件
- Android ListView获取当前可视区域条目数据