{{theTime}}

Search This Blog

Total Pageviews

Useful Java Run time Options


How to Print Garbage Collection Output with Time Stamp?

set -XX:PrintGCCompilation

How to use Performance tuning flags to optimize throughput Faster?

    java -d64 -server -XX:+AggressiveOpts -XX:+UseLargePages -Xmn10g -Xms26g -Xmx26g

How to use Performance tuning flags to optimize throughput Lower?

    java -d64 -XX:+UseG1GC -Xms26g Xmx26g -XX:MaxGCPauseMillis=500 -XX:+PrintGCTimeStamps

How to get Stack Trace of all Java Threads?

  bin>jstack.exe -l PID

   -- Used to troubleshoot hangs and crashes

How to connect to a Hung Process?
   bin> jstack.exe -F -m -l <PID>

No comments:

Kafka Consumer Parallelism

Kafka Parallel Consumer Options: Key-level parallelism:  Multiple threads process the messages from a single partition in parallel while ma...