Java Heap Dump On OutOfMemoryError

-XX:+HeapDumpOnOutOfMemoryError

Batch

"C:\Program Files\Java\jdk1.8.0_162\bin\java.exe" -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=CN -Duser.language=zh -Duser.variant -cp D:\gradle-4.1-all-qnxgds\lib\gradle-launcher-4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.1-rc-2
"C:\Program Files\Java\jdk1.8.0_162\bin\javaw.exe" -Dspring.output.ansi.enabled=always -Dfile.encoding=GBK -classpath ".;D:\workspace-sts-3.9.3.RELEASE\.metadata\.plugins\org.springframework.ide.eclipse.boot\installs\spring-boot-cli-1.5.9.RELEASE-bin\spring-1.5.9.RELEASE\lib\ext;D:\workspace-sts-3.9.3.RELEASE\.metadata\.plugins\org.springframework.ide.eclipse.boot\installs\spring-boot-cli-1.5.9.RELEASE-bin\spring-1.5.9.RELEASE\lib\spring-boot-cli-1.5.9.RELEASE.jar" org.springframework.boot.loader.JarLauncher cloud hystrixdashboard --deployer=thin -- --logging.level.org.springframework.cloud.launcher.deployer=DEBUG --spring.cloud.launcher.deployables.hystrixdashboard.properties.spring.cloud.deployer.local.javaOpts=-Dspring.output.ansi.enabled=always

 

Bash

java -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=CN -Duser.language=zh -Duser.variant -cp /mnt/d/gradle-4.1-all-qnxgds/lib/gradle-launcher-4.1.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.1-rc-2

  cd /mnt/d/workspace-sts-3.9.3.RELEASE/.metadata/.plugins/org.springframework.ide.eclipse.boot/installs/spring-boot-cli-1.5.9.RELEASE-bin/spring-1.5.9.RELEASE/


  java -Dspring.output.ansi.enabled=always -Dfile.encoding=GBK -classpath ".;/mnt/d/workspace-sts-3.9.3.RELEASE/.metadata/.plugins/org.springframework.ide.eclipse.boot/installs/spring-boot-cli-1.5.9.RELEASE-bin/spring-1.5.9.RELEASE/lib/ext;/mnt/d/workspace-sts-3.9.3.RELEASE/.metadata/.plugins/org.springframework.ide.eclipse.boot/installs/spring-boot-cli-1.5.9.RELEASE-bin/spring-1.5.9.RELEASE/lib/spring-boot-cli-1.5.9.RELEASE.jar" org.springframework.boot.loader.JarLauncher cloud hystrixdashboard --deployer=thin -- --logging.level.org.springframework.cloud.launcher.deployer=DEBUG --spring.cloud.launcher.deployables.hystrixdashboard.properties.spring.cloud.deployer.local.javaOpts=-Dspring.output.ansi.enabled=always

 

 

posted @ 2018-05-31 18:10  任国强  阅读(653)  评论(0编辑  收藏  举报