Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

cant open yourgit profiler on ubuntu 12.04

Moderators: Vladimir Kondratyev, Anton Katilin

cant open yourgit profiler on ubuntu 12.04

Postby kineret » Sun Nov 23, 2014 9:52 am

i try to install "yourgit profiler" on ubuntu 12.04 go to http://www.yourkit.com/download/index.jsp
and download the linux one
then after that i unpacked it, and try to Launch by : bin/yjp.sh
i get "[YourKit Java Profiler 2014 build 14112] Log file: /root/.yjp/log/yjp-2979.log" on terminal , and see the icon on the launcher, but no window appears.

what i did wrong?
kineret
 
Posts: 5
Joined: Thu Nov 20, 2014 1:34 pm

Re: cant open yourgit profiler on ubuntu 12.04

Postby Anton Katilin » Sun Nov 23, 2014 2:44 pm

The ui was possibly sent to another workspace. See similar case: viewtopic.php?f=3&t=5757

If this doesn't help please download the profiler's generic zip installation bundle. It does not include JRE and thus will start with Java installed on your machine. As far as I remember this helped another user with similar problem.
Anton Katilin
 
Posts: 5675
Joined: Wed Aug 11, 2004 8:37 am

Re: cant open yourgit profiler on ubuntu 12.04

Postby Anton Katilin » Sun Nov 23, 2014 2:47 pm

P.S.

I just noticed that you, according to the log file path, run it under the root. Please don't do it. Please run it as a regular user instead.
Anton Katilin
 
Posts: 5675
Joined: Wed Aug 11, 2004 8:37 am

Re: cant open yourgit profiler on ubuntu 12.04

Postby kineret » Sun Nov 23, 2014 4:38 pm

thank you Anton ,
1. could you tell me please where i can download the profiler's generic zip installation bundle on the web ?
2. i run it now under my user - get the same result.
3. how can i check if it sent to another workspace?
kineret
 
Posts: 5
Joined: Thu Nov 20, 2014 1:34 pm

Re: cant open yourgit profiler on ubuntu 12.04

Postby Anton Katilin » Sun Nov 23, 2014 5:38 pm

1. http://www.yourkit.com/download/
The ZIP labeled for Solaris and other platforms.
2. OK. Please run the ZIP from 1.
3. If you have them enabled in your Ubuntu, please switch between them to see what is running in there.

Anyway, it's a problem with how Java UI library works on your machine. It may be due to your settings, to your video driver, whatever.

Anyway, could you please check the profiler log:
1. Ensure you're not a root.
2. Remove the log directory:
rm -rf ~/.yjp/log
3. Start the profiler UI with yjp.sh
4. A file likely named yjp-<pid>.log should be created in ~/.yjp/log
Please copy and paste its entire content (it's a text file).
Anton Katilin
 
Posts: 5675
Joined: Wed Aug 11, 2004 8:37 am

Re: cant open yourgit profiler on ubuntu 12.04

Postby kineret » Sun Nov 23, 2014 6:46 pm

i download and run the zip
i have 4 workspace , and when i run yourkit i see the logo on launcher and when i press on it it take me to another workspace but nothing open there.

i run it - not in root
kineret@kineret-Latitude-E6540:~/yourkit/yjp-2014-build-14112$ bin/yjp.sh
[YourKit Java Profiler 2014 build 14112] Log file: /home/kineret/.yjp/log/yjp-4708.log

i did the steps with the log and i see that i have "HeapDumpOnOutOfMemoryError"
and i have a lot of free space on disk : 360GB
maybe i need somehow to increase the heap memory

the entire content:
Code: Select all
14112 - 0.010: Command line:
  /usr/local/java/jdk1.7.0_45/bin/java
  -Xmx4G
  -XX:PermSize=256m
  -XX:MaxPermSize=256m
  -XX:+HeapDumpOnOutOfMemoryError
  -XX:OnError=/home/kineret/yourkit/yjp-2014-build-14112/bin/../bin/yjp.sh -on_error %p
  -jar
  /home/kineret/yourkit/yjp-2014-build-14112/bin/../lib/yjp.jar
14112 - 0.010: Executable: /usr/local/java/jdk1.7.0_45/bin/java
14112 - 0.010: uname:
  sysname: Linux
  release: 3.8.0-29-generic
  version: #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013
  machine: x86_64
14112 - 0.010: Linux; fast_thread_cpu_time=1; 64-bit process
14112 - 0.010: Today is 20141123
14112 - 0.010: Build stamp: 201411140810
14112 - 0.010:
---------------------------------------------------------------------
Product: YourKit Java Profiler 2014 build 14112
Build: 14112 on Tue Nov 18 19:07:00 IST 2014
JDK: 1.7.0_45
VM: Java HotSpot(TM) 64-Bit Server VM
Vendor: Oracle Corporation
OS: Linux
OS version: 3.8.0-29-generic
OS arch: amd64
Properties:
  awt.toolkit=sun.awt.X11.XToolkit
  file.encoding.pkg=sun.io
  file.encoding=UTF-8
  file.separator=/
  java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
  java.awt.printerjob=sun.print.PSPrinterJob
  java.class.path=/home/kineret/yourkit/yjp-2014-build-14112/bin/../lib/yjp.jar
  java.class.version=51.0
  java.endorsed.dirs=/usr/local/java/jdk1.7.0_45/jre/lib/endorsed
  java.ext.dirs=/usr/local/java/jdk1.7.0_45/jre/lib/ext:/usr/java/packages/lib/ext
  java.home=/usr/local/java/jdk1.7.0_45/jre
  java.io.tmpdir=/tmp
  java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
  java.runtime.name=Java(TM) SE Runtime Environment
  java.runtime.version=1.7.0_45-b18
  java.specification.name=Java Platform API Specification
  java.specification.vendor=Oracle Corporation
  java.specification.version=1.7
  java.vendor.url.bug=http://bugreport.sun.com/bugreport/
  java.vendor.url=http://java.oracle.com/
  java.vendor=Oracle Corporation
  java.version=1.7.0_45
  java.vm.info=mixed mode
  java.vm.name=Java HotSpot(TM) 64-Bit Server VM
  java.vm.specification.name=Java Virtual Machine Specification
  java.vm.specification.vendor=Oracle Corporation
  java.vm.specification.version=1.7
  java.vm.vendor=Oracle Corporation
  java.vm.version=24.45-b08
  line.separator=

  os.arch=amd64
  os.name=Linux
  os.version=3.8.0-29-generic
  path.separator=:
  sun.arch.data.model=64
  sun.awt.enableExtraMouseButtons=true
  sun.boot.class.path=/usr/local/java/jdk1.7.0_45/jre/lib/resources.jar:/usr/local/java/jdk1.7.0_45/jre/lib/rt.jar:/usr/local/java/jdk1.7.0_45/jre/lib/sunrsasign.jar:/usr/local/java/jdk1.7.0_45/jre/lib/jsse.jar:/usr/local/java/jdk1.7.0_45/jre/lib/jce.jar:/usr/local/java/jdk1.7.0_45/jre/lib/charsets.jar:/usr/local/java/jdk1.7.0_45/jre/lib/jfr.jar:/usr/local/java/jdk1.7.0_45/jre/classes
  sun.boot.library.path=/usr/local/java/jdk1.7.0_45/jre/lib/amd64
  sun.cpu.endian=little
  sun.cpu.isalist=
  sun.desktop=gnome
  sun.font.fontmanager=sun.awt.X11FontManager
  sun.io.unicode.encoding=UnicodeLittle
  sun.java.command=/home/kineret/yourkit/yjp-2014-build-14112/bin/../lib/yjp.jar
  sun.java.launcher=SUN_STANDARD
  sun.jnu.encoding=UTF-8
  sun.management.compiler=HotSpot 64-Bit Tiered Compilers
  sun.os.patch.level=unknown
  user.country=US
  user.dir=/home/kineret/yourkit/yjp-2014-build-14112
  user.home=/home/kineret
  user.language=en
  user.name=kineret
  user.timezone=Asia/Jerusalem
Environment:
  COLORTERM=gnome-terminal
  COMPIZ_CONFIG_PROFILE=ubuntu
  DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-3xQvEuJJFE,guid=8a18ef2bd2efc27387f02c1900000033
  DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
  DESKTOP_SESSION=ubuntu
  DISPLAY=:0.0
  GDMSESSION=ubuntu
  GNOME_DESKTOP_SESSION_ID=this-is-deprecated
  GNOME_KEYRING_CONTROL=/tmp/keyring-S0sLaQ
  GNOME_KEYRING_PID=1887
  GPG_AGENT_INFO=/tmp/keyring-S0sLaQ/gpg:0:1
  HOME=/home/kineret
  JAVA_HOME=/usr/local/java/jdk1.7.0_45
  LANG=en_US.UTF-8
  LANGUAGE=en_US:en
  LC_ADDRESS=en_US.UTF-8
  LC_IDENTIFICATION=en_US.UTF-8
  LC_MEASUREMENT=en_US.UTF-8
  LC_MONETARY=en_US.UTF-8
  LC_NAME=en_US.UTF-8
  LC_NUMERIC=en_US.UTF-8
  LC_PAPER=en_US.UTF-8
  LC_TELEPHONE=en_US.UTF-8
  LC_TIME=en_US.UTF-8
  LESSCLOSE=/usr/bin/lesspipe %s %s
  LESSOPEN=| /usr/bin/lesspipe %s
  LOGNAME=kineret
  LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
  MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
  NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat
  OLDPWD=/home/kineret/yourkit
  PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/kineret/bin:/usr/local/java/jdk1.7.0_45/bin
  PWD=/home/kineret/yourkit/yjp-2014-build-14112
  SESSION_MANAGER=local/kineret-Latitude-E6540:@/tmp/.ICE-unix/1898,unix/kineret-Latitude-E6540:/tmp/.ICE-unix/1898
  SHELL=/bin/bash
  SHLVL=1
  SSH_AGENT_PID=1933
  SSH_AUTH_SOCK=/tmp/keyring-S0sLaQ/ssh
  TERM=xterm
  UBUNTU_MENUPROXY=libappmenu.so
  USER=kineret
  WINDOWID=58720262
  XAUTHORITY=/home/kineret/.Xauthority
  XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
  XDG_CURRENT_DESKTOP=Unity
  XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
  XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
  XDG_SESSION_COOKIE=5f286502a428163fa140ce3e0000000a-1416752377.567711-1151842432
  XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
  XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt
  _=bin/yjp.sh
---------------------------------------------------------------------


14112 - 0.011: com.yourkit.Main1: starting...
14112 - 0.011: com.yourkit.Main1: number of args: 0
14112 - 0.051: com.yourkit.Main1: oomeDumperStatus: 1
14112 - 0.205: com.yourkit.h.f.a.a: native LAF font: javax.swing.plaf.FontUIResource[family=Ubuntu,name=Ubuntu,style=plain,size=15]
14112 - 0.205: com.yourkit.h.f.a.a: metal font: javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=bold,size=12]
14112 - 0.206: com.yourkit.h.f.a.a: using metal
14112 - 0.206: com.yourkit.h.f.a.a: general font: javax.swing.plaf.FontUIResource[family=Dialog,name=Dialog,style=plain,size=12]
14112 - 0.528: com.yourkit.h.i.c.c: ParallelExecutor: pool size 8
14112 - 0.558: shmem 4234148E: OK
14112 - 0.558: shmem 42341490: OK
14112 - 0.657: com.yourkit.h.a7: marker: created /tmp/.yjp_20071015_ui58126
kineret
 
Posts: 5
Joined: Thu Nov 20, 2014 1:34 pm

Re: cant open yourgit profiler on ubuntu 12.04

Postby Anton Katilin » Mon Nov 24, 2014 7:28 am

Hi,

Since running with a different JVM did not immediately help, please return to using the profiler bundle you've used originally. It contains the newest and greatest Java 8 JRE.

i did the steps with the log and i see that i have "HeapDumpOnOutOfMemoryError"
and i have a lot of free space on disk : 360GB
maybe i need somehow to increase the heap memory
There are no errors in the log. The line "-XX:+HeapDumpOnOutOfMemoryError" which I suppose you refer is a Java option instructing the JVM to dump heap if the profiler UI runs out of memory. There is no indication this has actually happened, so you should not care about the profiler UI's heap size at this point.

i have 4 workspace , and when i run yourkit i see the logo on launcher and when i press on it it take me to another workspace but nothing open there.


In which workspace is the terminal from which you launch yjp.sh is running? Please try doing this from the first one.

To ensure that a stored and possibly incorrect screen location is not applied, please try these steps:

1. Remove all the profiler settings via "rm -rf ~/.yjp"
2. Start yjp.sh

If this does not help, try:

1. Disable workspaces
2. Remove all the profiler settings via "rm -rf ~/.yjp"
3. Start yjp.sh

Best regards,
Anton
Anton Katilin
 
Posts: 5675
Joined: Wed Aug 11, 2004 8:37 am

Re: cant open yourgit profiler on ubuntu 12.04

Postby kineret » Mon Nov 24, 2014 8:13 am

finally it's work !!
i canceled the workspaces

thank you !
kineret
 
Posts: 5
Joined: Thu Nov 20, 2014 1:34 pm


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron