[ 
https://issues.apache.org/jira/browse/PHOENIX-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270190#comment-17270190
 ] 

ASF GitHub Bot commented on PHOENIX-6335:
-----------------------------------------

stoty commented on a change in pull request #1106:
URL: https://github.com/apache/phoenix/pull/1106#discussion_r562684577



##########
File path: dev/phoenix-personality.sh
##########
@@ -87,9 +87,11 @@ function personality_globals
 
   # Set docker container to run with 20g. Default is 4g in yetus.
   # See HBASE-19902 for how we arrived at 20g.
-  # TODO Doesn't seem to have effect in Yetus 0.12, set in cli instead
   #shellcheck disable=SC2034
-  DOCKERMEMLIMIT=20g
+  DOCKER_MEMORY=20g
+
+  #Allow some swaping to avoid OOM errors
+  DOCKER_EXTRAARGS+=( "--memory-swap=24g" )

Review comment:
       > Is this a proven way? (Just asking in case any Hadoop project is 
following this and it's working fine for them)
   
   Not that I know of. 
   I was just looking at the docker memory management options, and this seemed 
like a solution without overcommitting the host memory.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


> Jenkins tests getting OS level OOM erros
> ----------------------------------------
>
>                 Key: PHOENIX-6335
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6335
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> We see JVMs exiting with 137 code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to