Csaba Ringhofer has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/24589 )

Change subject: IMPALA-15187: Reduce excessive Trino memory allocation
......................................................................

IMPALA-15187: Reduce excessive Trino memory allocation

The impala-minicluster-trino image used for Trino interop tests is attempting to
allocate 50GB for the JVM during startup leading to container startup failures.

The 50GB allocation (on a 64 GB host) is the result of the following settings in
/etc/trino/jvm.config which will allocate 80% of host memory during startup:

-XX:InitialRAMPercentage=80
-XX:MaxRAMPercentage=80

The fix is to reduce these percentages to something more reasonable:

-XX: InitialRAMPercentage=10
-XX: MaxRAMPercentage=30
Change-Id: I692e5363054b045018d3b4cecf24e6b6c4a4c269
Reviewed-on: http://gerrit.cloudera.org:8080/24589
Reviewed-by: Csaba Ringhofer <[email protected]>
Tested-by: Csaba Ringhofer <[email protected]>
---
M testdata/bin/minicluster_trino/Dockerfile
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Csaba Ringhofer: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/24589
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I692e5363054b045018d3b4cecf24e6b6c4a4c269
Gerrit-Change-Number: 24589
Gerrit-PatchSet: 3
Gerrit-Owner: David Rorke <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to