- This topic has 4 replies, 2 voices, and was last updated 12 years, 4 months ago by support-swapna.
-
AuthorPosts
-
dhalladayMemberOn myeclipse pro 10.6, 32 bit, Windows 7 I cannot profile.
Profiling the M4MContactManagerExample, I get the following When I click the icon at the lower right position in the VisualMV window.
Following other threads I have tried leaving the visualvm open and trying again.
java.lang.UnsupportedOperationException at com.sun.tools.visualvm.application.jvm.DefaultJvm.getJvmArgs(DefaultJvm.java:68) at com.sun.tools.visualvm.jvmstat.application.JvmstatApplication.createStorage(JvmstatApplication.java:70) at com.sun.tools.visualvm.core.datasource.DataSource.getStorage(DataSource.java:137) at com.sun.tools.visualvm.jvmstat.application.JvmstatApplicationListener.dataChanged(JvmstatApplicationListener.java:26) at com.sun.tools.visualvm.core.datasource.DataSourceProvider.fireDataChanged(DataSourceProvider.java:257) at com.sun.tools.visualvm.core.datasource.DataSourceProvider.fireCurrentState(DataSourceProvider.java:236) at com.sun.tools.visualvm.core.datasource.DataSourceProvider.access$200(DataSourceProvider.java:48) at com.sun.tools.visualvm.core.datasource.DataSourceProvider$1.run(DataSourceProvider.java:80) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
support-swapnaModeratordhalladay,
Sorry that you are seeing this issue. We could not replicate the issue at our end.
Can you please let us know which version of JDK is specified for the profiler (Window > Preferences > MyEclipse > Profiler ) and for the workspace default?
dhalladayMemberSwapna,
The profiler is set to Sun JDK 1.6.0_13 (the bundled JDK).
Installed JREs is set to Sun JDK 1.6.0_13.I am attaching the visualvm log where I attempted to profile M4MContactmanagerExample
-DennisAttachments:
You must be logged in to view attached files.
dhalladayMemberBased on “java.lang.Exception: Could not open PerfMemory” in the virtualvm log
I found the following link useful: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6495549After editing my profile and setting TEMP and TMP to C:\Temp (a directory I created) I can now profile. (the default temp directory was %USERPROFILE%\AppData\Local\Temp)
-Dennis
support-swapnaModeratorDennis,
Glad that you got it working. Thanks for posting back.
Do let us know if you see any issues. -
AuthorPosts