Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do profiling with Clojure Application #5

Open
humorless opened this issue Sep 11, 2019 · 0 comments
Open

How to do profiling with Clojure Application #5

humorless opened this issue Sep 11, 2019 · 0 comments

Comments

@humorless
Copy link
Owner

humorless commented Sep 11, 2019

  1. Prepare project.clj with
:jvm-opts ["-Djava.rmi.server.hostname=10.20.30.40"
                 "-Dcom.sun.management.jmxremote"
                 "-Dcom.sun.management.jmxremote.ssl=false"
                 "-Dcom.sun.management.jmxremote.local.only=false"
                 "-Dcom.sun.management.jmxremote.authenticate=false"
                 "-Dcom.sun.management.jmxremote.port=43210"]
  1. The jmxremote port can be random port
  2. Use jconsole or jvisualvm at $JDK_HOME/bin to connect to the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant