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

Ovidiu Mihalcea edited comment on SOLR-8803 at 7/11/23 4:26 PM:
----------------------------------------------------------------

[~elyograg], this is what I get on stdout in Docker logs starting with a way 
too small heap of 200M with +CrashOnOutOfMemoryError:
 
Starting Solr
Java 17 detected. Enabled workaround for SOLR-16463
[0.006s][warning][pagesize] UseLargePages disabled, no large pages configured 
and available on the system.
CompileCommand: exclude 
com/github/benmanes/caffeine/cache/BoundedLocalCache.put bool exclude = true
Aborting due to java.lang.OutOfMemoryError: Java heap space

A fatal error has been detected by the Java Runtime Environment:

Internal Error (debug.cpp:362), pid=11, tid=95
fatal error: OutOfMemory encountered: Java heap space

JRE version: OpenJDK Runtime Environment Temurin-17.0.7+7 (17.0.7+7) (build 
17.0.7+7)
Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (17.0.7+7, mixed mode, 
sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
Core dump will be written. Default location: /opt/solr-9.2.1/server/core.11

An error report file with more information is saved as:
/var/solr/logs/jvm_crash_11.log


was (Author: dizzu333):
[~elyograg], this is what I get on stdout in Docker logs starting with a way 
too small heap of 200M with +CrashOnOutOfMemoryError:
 
Starting Solr
Java 17 detected. Enabled workaround for SOLR-16463
[0.006s][warning][pagesize] UseLargePages disabled, no large pages configured 
and available on the system.
CompileCommand: exclude 
com/github/benmanes/caffeine/cache/BoundedLocalCache.put bool exclude = true
Aborting due to java.lang.OutOfMemoryError: Java heap space
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (debug.cpp:362), pid=11, tid=95
# fatal error: OutOfMemory encountered: Java heap space
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.7+7 (17.0.7+7) (build 
17.0.7+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (17.0.7+7, mixed mode, 
sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Core dump will be written. Default location: /opt/solr-9.2.1/server/core.11
#
# An error report file with more information is saved as:
# /var/solr/logs/jvm_crash_11.log

> Generalize OOME handling to work for any OS
> -------------------------------------------
>
>                 Key: SOLR-8803
>                 URL: https://issues.apache.org/jira/browse/SOLR-8803
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 9.0
>            Reporter: Binoy Dalal
>            Assignee: Shawn Heisey
>            Priority: Minor
>              Labels: OOM, oom
>             Fix For: main (10.0), 9.2
>
>         Attachments: SOLR-8803-1.patch, SOLR-8803-10.patch, 
> SOLR-8803-2.patch, SOLR-8803-3.patch, SOLR-8803-4.patch, SOLR-8803-5.patch, 
> SOLR-8803-6.patch, SOLR-8803-7.patch, SOLR-8803-8.patch, SOLR-8803-9.patch, 
> SOLR-8803.patch, oom_win.cmd, solr-8803-build-transcript.txt
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Solr on windows does not currently have a script to kill the process on OOM 
> errors.
> The idea is to write a batch script that works like the OOM kill script for 
> Linux and kills the solr process on OOM errors while creating an OOM log file 
> like the one on Linux systems.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to