From a4146ace2b5aa902ef60efe10e6557d98f257943 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 19 Feb 2020 11:08:55 +0100 Subject: [PATCH] Remove -XX:MaxPermSize We have not supported anything below Java 8 for a long time, hence we do not need to muck with -XX:MaxPermSize, as it has no effect since Java 8. Change-Id: Ie68a311e3260f149764a9fdb485561e69090a044 Signed-off-by: Robert Varga --- csit/libraries/NetconfKeywords.robot | 2 +- csit/libraries/RestPerfClient.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csit/libraries/NetconfKeywords.robot b/csit/libraries/NetconfKeywords.robot index afa32772d2..455d36e2d5 100644 --- a/csit/libraries/NetconfKeywords.robot +++ b/csit/libraries/NetconfKeywords.robot @@ -24,7 +24,7 @@ Resource Utils.robot Resource RemoteBash.robot *** Variables *** -${TESTTOOL_DEFAULT_JAVA_OPTIONS} -Xmx1G -XX:MaxPermSize=256M +${TESTTOOL_DEFAULT_JAVA_OPTIONS} -Xmx1G ${DIRECTORY_WITH_DEVICE_TEMPLATES} ${CURDIR}/../variables/netconf/device ${FIRST_TESTTOOL_PORT} 17830 ${BASE_NETCONF_DEVICE_PORT} 17830 diff --git a/csit/libraries/RestPerfClient.robot b/csit/libraries/RestPerfClient.robot index fc5d6e026a..14dbbb9e9d 100644 --- a/csit/libraries/RestPerfClient.robot +++ b/csit/libraries/RestPerfClient.robot @@ -48,7 +48,7 @@ Setup_Restperfclient BuiltIn.Set_Suite_Variable ${RestPerfClient__restperfclient} ${connection} SSHLibrary.Put_File ${CURDIR}/../variables/netconf/RestPerfClient/request1.json ${filename}= NexusKeywords.Deploy_Test_Tool netconf netconf-testtool rest-perf-client - ${prefix}= NexusKeywords.Compose_Full_Java_Command -Xmx1G -XX:MaxPermSize=256M -jar ${filename} + ${prefix}= NexusKeywords.Compose_Full_Java_Command -Xmx1G -jar ${filename} BuiltIn.Set_Suite_Variable ${RestPerfClient__restperfclient_invocation_command_prefix} ${prefix} RestPerfClient__Kill -- 2.36.6