Skip to content

Instantly share code, notes, and snippets.

@jrthe42
jrthe42 / native-mem-tracking.md
Created August 18, 2020 11:25 — forked from prasanthj/native-mem-tracking.md
Native memory tracking in JVM

Enable native memory tracking in JVM by specifying the following flag

-XX:NativeMemoryTracking=detail

Know the <PID> of the java process

jps

To print ps based RSS

ps -p <PID> -o pcpu,rss,size,vsize

To print native memory tracking summary

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@jrthe42
jrthe42 / index.html
Last active October 24, 2024 05:10 — forked from tcya/index.html
海德沙龙刷机包
<!DOCTYPE html>
<html>
<head>
<title>海德沙龙刷机包</title>
<style>
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}