You can have a look at https://www.zisistach.org/posts/solr-performance/#avoid-using-deletebyquery
We used to have similar problems and the solution was to avoid the calls to deleteByQuery altogether. Zisis T. On Fri, 10 Jun 2022 16:27:40 +0530, Pankaj Khandelwal <[email protected]> wrote: > Hi, > > We have multiple Drupal sites and for each site we have created separate > collection in Solr 7.7.3 cluster with 5 node. each instance has 16GBs of > memory and 8 GBs of JVM. > > Whenever from any drupal site we delete some document we send deleteByQuery > request (Module dependency) heap usage spikes up and take down few nodes. > Is there any way to prevent heap usage spike by deleteByQuery. > > Thanks, > Pankaj khandelwal
