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 unavailable message will not come again But while entering the java command itself, it is … Read more

Difference between JVM application memory footprint and OS memory

I know this is a question already discussed, but I couldn’t find a method to get peace of mind. Basically we have a java web application that runs under a tomcat application server, specifically: Java HotSpot(TM) 64-Bit Server VM; 1.8.0_112; 25.112-b15; mixed mode Tomcat 7.0_Tomcat7.0.73 Windows Server 2012 R2 (6.3.9600) Our application is becomind too … Read more

Finding all programs which are using Java on windows server 2012

I am looking for a way with which I can find any and all programs which are using Java on a windows server. Is there a cmd command or something similar which would give me a list of all programs using java? Thanks Edit: I am basically about to remove Java from the server but … Read more

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 more memory (I believe this is mostly always true). What … Read more

YARN AM logs report different time-stamp from what is shown in terminal and sparkscala shell

I am trying to understand why the following occurred: I have a Docker container with Yarn and Spark running fine except that the timestamp of that container was minus X hours of what I wanted it to be. So when I was running date it was returning a timestamp minus X hours of the current … Read more

JVM: JVMJ9VM015W Initialization error for library j9gc28(2): Failed to instantiate compressed references metadata; 200M requested

I am getting the following errors on the IBM Domino Server console. Running 9.0.1 FP8 Win64 HTTP Server: Using Web Configuration View HTTP JVM: JVMJ9VM015W Initialization error for library j9gc28(2): Failed to instantiate compressed references metadata; 200M requested JVM: The Java Virtual Machine creation returned an invalid JVM machine pointer. JVM: Java Virtual Machine failed … Read more

Possible Linux page table issue/huge load average with large heap JVM that results in significant sys time in GC logs

Our service runs on AWS on m5.12xlarge nodes (48 cores, 192 G RAM) on Ubuntu 16.04. We use Java 8. For our service we allocate about 150G as max heap size. We have no swap on the node. The nature of our service is that it allocates a lot of large short-lived objects. Apart from … Read more

memory locking requested for elasticsearch process but memory is not locked

ElasticSearch 5.6.7 throws somewhat misleading following error and refuse to start: [2018-08-02T10:07:50,333][ERROR][o.e.b.Bootstrap ] [esm56n3] node validation exception [2] bootstrap checks failed [1]: memory locking requested for elasticsearch process but memory is not locked [2]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own … Read more