Questions tagged [jvm]
25 questions
0
votes
1 answer
Tomcat Server Shuts Down with no trace
We have a couple of critical Java Web Apps running on a bunch of Apache Tomcat 7 servers, on top of Centos 6.x.
From time to time, once or twice a week, one of the Tomcat instances suddenly shuts down, with no trace, no OutOfMemory Exceptions, no…
0
votes
1 answer
Elasticsearch: no JDK found... but JAVA_HOME seems set properly
When I'm trying to install elasticsearch (Ubuntu 16.04) I get the error message:
elasticsearch[15885]: * no JDK found - please set JAVA_HOME
But I have only one Java and I think JAVA_HOME is set properly...
$ echo…
![](../../users/profiles/403899.webp)
MAL
- 3
- 1
- 3
0
votes
0 answers
JVM Heap usage charts interpretation
I'd like to ask for some tips how should I concern different JAVA apps memory usage line charts. Should I find any of them as "memory leak"? How my JVM profiling impacts on GC activity?
Each of them shows selected application under different load…
![](../../users/profiles/352658.webp)
YasiuMaster
- 21
- 3
0
votes
1 answer
Resource temporarily unavailable [fork] & insufficient memory for the Java Runtime Environment to continue
I have been experiencing this errors in my linux servers.
Resource temporarily unavailable [fork] &
insufficient memory for the Java Runtime Environment to continue
I have increased the nproc limit in my server to 2047. And I hope that resourse…
![](../../users/profiles/414008.webp)
nirmalraj17
- 203
- 4
- 13
0
votes
1 answer
SQLite3 is crashing the JVM
I am using sqlite-jdbc 3.7.2 when i run my application, SQLLite is crashing the JVM. It is not happening consistently but it happened twice. Please help to find the issue.
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV…
![](../../users/profiles/416632.webp)
Mohan
- 103
- 3
0
votes
1 answer
jruby web application deployed on glassfish server becoming slow as time passes
I have deployed war file of my jruby application on glassfish server. i have noticed that my application becomes slow as time passes. My server is of 30GB RAM but still application is very slow.
Every ruby method in my application is creating array…
![](../../users/profiles/296706.webp)
Sanjay Salunkhe
- 113
- 2
0
votes
1 answer
What would the OS see if the JVM was memory starved?
The real context here is elasticsearch but I'm curious what would happen more generally (minecraft / jetty / etc). When an OS process is out of system memory, you can see this behavior by checking swap. If a box isn't swapping then it doesn't need…
![](../../users/profiles/18749.webp)
squarism
- 199
- 1
- 9
0
votes
0 answers
Jenkins running as a service restarts by itself after upgrade from 2.303.2 to 2.319.3
I upgraded Jenkins (running as a service) from version 2.235.5 to 2.303.2 (by just replacing .war file and restarting the service), which seemed to work pretty stable. Before doing it, I upgraded Java from OpenJDK 8 to OpenJDK 11, which was the…
![](../../users/profiles/969648.webp)
Chris
- 1
0
votes
1 answer
Why is the max heap much smaller than the value I set in Xmx (with -XX:+UseParallelGC -XX:+UseParallelOldGC)
I am running a SolrCloud on k8s with the following setting:
Heap params:
-server -Xms280m -Xmx312m
Other params:
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:+UseAdaptiveSizePolicy -XX:ParallelGCThreads=4 -XX:AdaptiveSizePolicyOutputInterval=1…
![](../../users/profiles/317588.webp)
John the Traveler
- 73
- 1
- 7
-1
votes
1 answer
How to configure Glassfish to allocate different memory size for JVM per web application
I have 2 Java web applications deployed on my Glassfish Enterprise Server v2.1.1.
I want each of them to have different configurations for JVM options, specially for memory allocation. I have studied this document. But it contains approach for…
![](../../users/profiles/401012.webp)
RAS
- 101
- 3