ARTEMIS-4057 Fix backup last OOME heap dump on Windows
This commit is contained in:
parent
a6e69aaccf
commit
8583288603
|
@ -48,9 +48,9 @@ rem "Load Profile Config"
|
||||||
set ARTEMIS_INSTANCE_ETC="${artemis.instance.etc}"
|
set ARTEMIS_INSTANCE_ETC="${artemis.instance.etc}"
|
||||||
call %ARTEMIS_INSTANCE_ETC%\artemis.profile.cmd %*
|
call %ARTEMIS_INSTANCE_ETC%\artemis.profile.cmd %*
|
||||||
|
|
||||||
if not exist "%ARTEMIS_OOME_DUMP%" goto NO_ARTEMIS_OOME_DUMP
|
if not exist %ARTEMIS_OOME_DUMP% goto NO_ARTEMIS_OOME_DUMP
|
||||||
rem "Backup the last OOME heap dump"
|
rem "Backup the last OOME heap dump"
|
||||||
move /Y "%ARTEMIS_OOME_DUMP%" "%ARTEMIS_OOME_DUMP%.bkp"
|
move /Y %ARTEMIS_OOME_DUMP% %ARTEMIS_OOME_DUMP%.bkp
|
||||||
|
|
||||||
:NO_ARTEMIS_OOME_DUMP
|
:NO_ARTEMIS_OOME_DUMP
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue