I wasn't stating that Docker is the solution at all. I was also stating
that the native memory would go down if you limit the heap.
I'm running Solr in Docker with a memory limit and thus have to make
sure that the memory is limited as otherwise Linux kills the JVM. For
that I'm limiting the hea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hendrik,
On 10/12/18 02:36, Hendrik Haddorp wrote:
> Those constraints can be easily set if you are using Docker. The
> problem is however that at least up to Oracle Java 8, and I believe
> quite a bit further, the JVM is not at all aware about thos
Those constraints can be easily set if you are using Docker. The problem
is however that at least up to Oracle Java 8, and I believe quite a bit
further, the JVM is not at all aware about those limits. That's why when
running Solr in Docker you really need to make sure that you set the
memory l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Shawn,
On 10/11/18 12:54 AM, Shawn Heisey wrote:
> On 10/10/2018 10:08 PM, Sourav Moitra wrote:
>> We have a Solr server with 8gb of memory. We are using solr in
>> cloud mode, solr version is 7.5, Java version is Oracle Java 9
>> and settings for X
Don't know if this directly affects what you're trying to do. But I
have an 8GB server and when I run "solr status" I can see what % of the
automatic memory allocation is being used. As it turned out, solr would
occasionally exceed that (and crashed).
I then began starting solr with the additio
Beside the heap the JVM has other memory areas, like the metaspace:
https://docs.oracle.com/javase/9/tools/java.htm
-> MaxMetaspaceSize
search for "size" in that document and you'll find tons of further
settings. I have not tried out Oracle Java 9 yet.
regards,
Hendrik
On 11.10.2018 06:08, So
On 10/10/2018 11:33 PM, Sourav Moitra wrote:
Hello Shawn,
Thanks for quick reply.
Where precisely are you seeing the 98% usage?
On the Solr web UI. Although the same Solr UI is reporting heap usage
to be below 1 GB.
Also I found that Solr Java is holding(VIRT) 8GB of total memory even
with Xmx
Hello Shawn,
Thanks for quick reply.
> > Where precisely are you seeing the 98% usage?
On the Solr web UI. Although the same Solr UI is reporting heap usage
to be below 1 GB.
Also I found that Solr Java is holding(VIRT) 8GB of total memory even
with Xmx set to 2g using top command.
Can it be due
On 10/10/2018 10:08 PM, Sourav Moitra wrote:
We have a Solr server with 8gb of memory. We are using solr in cloud
mode, solr version is 7.5, Java version is Oracle Java 9 and settings
for Xmx and Xms value is 2g but we are observing that the RAM getting
used to 98% when doing indexing.
How can I