Skip to content

Instantly share code, notes, and snippets.

View ershad1's full-sized avatar

Ershad ershad1

  • BRAC IT Services Limited
  • Dhaka, Bangladesh.
View GitHub Profile
@ershad1
ershad1 / bash
Created June 27, 2020 14:48 — forked from jonashackt/bash
Remote debugging Spring Boot
### java -jar
java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8001,suspend=y -jar target/cxf-boot-simple-0.0.1-SNAPSHOT.jar
### Maven
Debug Spring Boot app with Maven:
mvn spring-boot:run -Drun.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8001"
@ershad1
ershad1 / IntelliJ_IDEA__Perf_Tuning.txt
Last active June 8, 2018 15:50 — forked from P7h/IntelliJ_IDEA__Perf_Tuning.txt
Performance tuning parameters for IntelliJ IDEA JDK8 and 16G RAM on windows 10. Add these params in idea64.exe.vmoptions or idea.exe.vmoptions file in IntelliJ IDEA.
-Xms2g
-Xmx4g
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow