Hi, im not sure exactly when this problem started but noticed it today in the logs.
it seems that 256M is not fit for purpose (could be too much indexes?) not sure.
But increasing it to 512M worked.
Hi, im not sure exactly when this problem started but noticed it today in the logs.
it seems that 256M is not fit for purpose (could be too much indexes?) not sure.
But increasing it to 512M worked.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
[elastic] increase Xmx to 512m | mediawiki/vagrant | master | +11 -5 |
Maybe we could make this configurable? So that 256M is the default but allow users to override it?
Using more RAM by default might be detrimental to most users given the fact that we set Xms to the value of Xmx. JAVA will always consume all the RAM we allow it to consume even if it's not needed.
I'd rather double check that the default we have is not suited for "normal operations" before trying to increase Xmx/Xms. As a CirrusSearch maintainer I'm fine tuning this myself by hand when needed.
Do you remember what kind of "elastic" work if any you were doing on this vagrant instance when it started to OOM?
Change 533240 had a related patch set uploaded (by DCausse; owner: DCausse):
[mediawiki/vagrant@master] [elastic] increase Xmx to 512m
Change 533240 merged by jenkins-bot:
[mediawiki/vagrant@master] [elastic] increase Xmx to 512m