lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Heisey (JIRA)" <>
Subject [jira] [Commented] (SOLR-13446) Improve default heap size and related handling
Date Fri, 03 May 2019 20:09:00 GMT


Shawn Heisey commented on SOLR-13446:

For my ideas, I will need somebody to explain how to create a standalone module within the
Solr project, one that will make an executable jar.  That information will be helpful for
SOLR-6733 as well.

> Improve default heap size and related handling
> ----------------------------------------------
>                 Key: SOLR-13446
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>    Affects Versions: 8.0
>            Reporter: Shawn Heisey
>            Priority: Minor
> Solr's scripts have a default max heap setting of 512MB.  I think it's fair to say that
for a production install, this is ridiculously small.  Nearly everyone who runs a Solr server
will need to increase this value.
> I think it would be useful to issue a warning in the log when the heap size is below
a certain value.  Text like "Detected max heap size is XXXX.  It might be necessary to increase
the heap size for proper operation.  See
for details."
> For people who are running very small servers, there should be a config option to turn
off that logging when somebody knows that the default heap size is perfectly fine for their
> At the same time, we also need to improve the default heap size.  I'm going to ask everyone
to bikeshed about what the new default should be.  Initial thought is a 2GB default, to be
made smaller automatically if detected system memory is low.  If the admin has explicitly
set the heap size, then none of this will take place.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message