JVM (Java Virtual Machine) is an abstract computing machine (or virtual machine), a platform-independent execution environment that converts Java bytecode into machine language and executes it.

learn more… | top users | synonyms

0
votes
1answer
10 views

Tomcat threads are increasing but never decreasing

We are using new relic to monitor tomcat threads. The graph shows increase of thread count,but it never decreased even the application is idle. We noticed that when it increase CPU also increased and ...
0
votes
0answers
8 views

How scale JVM vertically without restarting the JVM? [closed]

I am developing a chat application and right now I dont know the traffic; so I want to know how to scale JVM vertically as on need basis without restarting the JVM? Your help is highly appreciable. ...
2
votes
3answers
29 views

How can I verify the heap size startup arguments for an active JVM that's running as a Windows service and loading JVM params from registry?

I've got a Windows server with a third-party application on it that runs as a Windows service. The service/application is actually a java virtual machine however it displays in task manager as an exe ...
0
votes
1answer
29 views

when is the jvm heap allocated by the OS

One of our sap systems(PI ABAP+JAVA stack) was giving performance issue. The entire 64GB configured for the machine gets hogged up(and the 8 cores as well). Every one is suspecting the java part,but i ...
1
vote
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
0
votes
0answers
34 views

VM State Transitions (core dump)

I have been looking over a set of core dumps for a fatal error we experience using the HotSpot JVM (version 6). The "VM State" field caught my attention looking through the files. I have seen all 3 ...
0
votes
1answer
791 views

Tomcat web application intermittent freeze

I have a Grails web application (just a standard war file) deployed on a Ubuntu 10.10 server running on tomcat 6. My database is postgresql. The problem is that every so often (once or twice a day ...
0
votes
1answer
21 views

Are running JVMs affected by JRE upgrade

The title pretty much says it all: I would like to perform an apt-get upgrade on my server to get the latest JRE (among other packages), but there are a couple of JVMs running which should not be ...
1
vote
2answers
143 views

Tomcat crashing after a few hours

I'm running a CentOS 6.5 64 bit OS with Tomcat and one web application. I use Apache (httpd) as a reverse proxy (ProxyPass) to the application. Until recently, it (Tomcat) has been running fine ...
-1
votes
2answers
25 views

Apple OSX with JVM support (or any virtual machine) [duplicate]

Few things I didn't understand on OS X... From 2010 until today... Throughout the internet there were several sources stating that according to Apple's EULA it wasn't legal to run any virtual ...
0
votes
2answers
44 views

JVM will not start when starting Glassfish on RHEL

GlassFish 3.0.1 RHEL 6.3 When trying to start GlassFish I get the following JVM error: JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with ...
1
vote
0answers
22 views

Glassfish 2.0 - per node JVM config

I have a Glassfish (2.0) cluster with two nodes. I want to pass some extra JVM settings to a single node only. Is this configurable? At least from the console I see, this selective configuration is ...
0
votes
2answers
453 views

Running two different versions of Tomcat each with a different version of the jdk

I inherited a test system where the Tomcat and JVM didn't match those on the production server - and it matters. Yet I can't change the versions in test. So I want to add to the test server a new ...
1
vote
0answers
263 views

JVM process resident set size “equals” max heap size, not current heap size

After a few reading about jvm memory (here, here, here, others I forgot...), I am expecting the resident set size of my java process to be roughly equal to the current heap space capacity. That's not ...
1
vote
0answers
1k views

Tomcat Memory - Setting in setenv.sh not respected

I have Tomcat 7.0.35 on CentOS. I have configured setenv.sh to have the following: export JAVA_OPTS="-Dfile.encoding=UTF-8 -Xms128m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m" However under ...
5
votes
5answers
12k views

How can I monitor memory usage for a windows-based JVM and trigger an alert if it gets too high?

I have an app that runs as a JVM in Windows 2008. I'd like to monitor it's memory usage and be sent an email if/when memory usage reaches a specific threshold. Is there a free utility or method for ...
1
vote
2answers
1k views

Non-heap memory leak JVM

I have a glassfish v4.0 set up on Ubuntu server running on oracle java virtual machine and jvm process resident memory size (got via "top" command) grows up until jvm doesnt have memory to create new ...
0
votes
4answers
2k views

Hung Java JVM failing to respond to kill -3

I have a Java VM that is hanging "randomly". I quote the randomly bit, because there is obviously a reason that the VM is hanging, but the hang does not occur periodically. We have the same software ...
0
votes
1answer
386 views

Local Proxy tool which authenticates against NTLM, sits on top of the Java VM and possibly transparently passes through HTTPS requests

I'm looking for a local HTTP proxy which I can run locally on my machine. This proxy accepts HTTP and HTTPS request and passes them upstream on to an external corporate proxy. The local proxy needs to ...
1
vote
1answer
2k views

fork: Resource temporarily unavailable running JVM

I'm running a Tomcat 6 instance on a 34 GB EC2 instance. I've been struggling to keep the memory down but this thing services a lot of requests and the heap frequently gets up to 13 GB. But the heap ...
3
votes
2answers
3k views

Which performance metrics to monitor on a JVM?

I want to do some performance monitoring on our JVMs. What would be interesting to monitor besides the obvious things I already have on my list ? JVM Free/Total memory GC rate (how many per minute) ...
0
votes
1answer
92 views

How to increase heap size for particular WAR on WAS?

I have a WAS where a particular WAR file is deployed. This WAR file runs okay most of the time, however at times it would run to Java OOM issue. I'd like to know if there is any control to increase ...
0
votes
4answers
2k views

Coldfusion on VPS, how much JVM heap memory?

Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions. I thought simply to rise ...
1
vote
1answer
493 views

JVM crash with segmentation fault

We have a cluster of tomcat servers, just upgraded to debian7/openjdk7/tomcat7 (all from stock debian). Now we had two JVM crash on different machines. Both servers having identical hardware and are ...
0
votes
3answers
630 views

Why are Full GCs not running on my gcInterval I set?

ColdFusion 10 Update 10 Windows Server 2008 R2 Java 1.7.0_21 I am trying to figure Full GCs to run every 10 minutes. I have used the gcInterval JVM arg in the past on earlier versions of ...
1
vote
1answer
4k views

how do i detect which version 32 or 64 bit Java is installed in Centos?

I am trying to detect which version of the java is running in my system (i mean i want to find out whether my java installation is 32 bit or 64 bit) I have tried $java -version which outputs ...
0
votes
1answer
684 views

Openfire Java Out of Memory Error - Any solutions?

I have huge problem with openfire crashing every now and then because of the lack of memory. In java log i have following error log. however problems are Openfire is 32 bit and i cant run it as 64 ...
0
votes
2answers
490 views

JVM/Tomcat crashes when to many uploads occur in parallel (Heap Space)?

I have a Servlet application running on Tomcat 7. I set the following in setenv.sh CATALINA_OPTS=" -server -Xms1G -Xmx5G -XX:MaxPermSize=512m -Dfile.encoding=UTF-8"; The server runs on Ubuntu ...
0
votes
1answer
387 views

-XX:MaxNewSize and other JVM parameter setting in AIX

All, I am trying to adjust our application's memory settings: JVM and Heap adjustments. I also came across -XX:MaxNewSize parameter. Our application runs on a AIX machine which has ample RAM (100+ ...
0
votes
0answers
50 views

bash redirections stalling when used with jstack

I have this command that is not working and I have no idea how to debug. The command it never returns and I have to press CTRL+C. diff <(jstack 13928) <(sleep 10;jstack 13928) I want to make ...
2
votes
0answers
413 views

Tuning Tomcat 7 on windows (for Alfresco)

I have installed Tomcat7 as a service on a windows server 64bit 2008 R2 to run Alfresco (4.2.c). I have 48G of ram. I have read Tomcat tuning tutorial with the JVM settings for memory. To edit the ...
2
votes
1answer
365 views

Glassfish Server JVM Tunning

I need to setup a Oracle Glassfish Server and after some research I came up with a configuration that I would like to propose. Any suggestions and/or corrections are very welcome. My Hardware/OS ...
1
vote
2answers
1k views

Glassfish V3 using up all available memory

I have a Virtual Server with 1GB of RAM. When i start glassfish with asadmin start-domain it instantly allocates all available memory, although i defined -Xmx128m in my domain.xml. Am I missing an ...
0
votes
1answer
309 views

java.lang.OutOfMemoryError: GC overhead limit exceeded TeamCity 7.0

I am getting this error suddenly. Running teamcity 7.0 on a Windows Server 2008. How do I add more memory via passing options to the JVM? I don't understand how to pass the xmx option when using ...
1
vote
2answers
368 views

Coldfusion multiserver instance hangs

I have a coldfusion 8 multiserver setup with IIS in Windows 2008 Standard SP2 and when one instance "hangs" (I can't connect to the instance from fusion reactor) the web server throws a "503 service ...
2
votes
1answer
970 views

how to solve out of memory error in java in amazon ec2 server

can anyone explain about this error message? we are using IBM jre to run java application Its occupying more space on the server. JVMDUMP006I Processing dump event "systhrow", detail ...
0
votes
1answer
198 views

When the JVM is doing a complete GC, is it expected to see a large number of page fault/sec?

It is Window 2003 server. We are running some performance test, and what we see is: 1. In first 5 hours, the page fault/sec is very small, like 10 or 20 In the last 1 hour, the page fault jumps to ...
8
votes
4answers
18k views

Cannot switch, ssh to specific user: su: cannot set user id: Resource temporarily unavailable?

/var/log/secure: su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_unix(su-l:session): session ...
3
votes
3answers
3k views

Java VM problem in OpenVZ

I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error : Error ...
3
votes
1answer
100 views

How to determine what websites or local applications are using JVM/JRE

We run a large Windows shop -- tens of thousands of workstations. Most have a version of the Sun/Oracle Java Virtual Machine (JVM) installed. With all the security issues around the JVM, we'd like to ...
0
votes
1answer
1k views

How to monitor Java memory Usage or Heap Size via Hyperic Monitoring

I was trying to configure the JVM memory usage, Heap Size and Logs monitoring via Hyperic Tool. But the documentation is not much clear how to do that. Is anybody can guide me please.
0
votes
1answer
98 views

Can the JVM(Oracle) run into an OutOfMemory error if the heap size is below the max?

I am running a Tomcat site(with an NGinx front end) that seems to be randomly running out of memory even though the max heap size is pretty large. My question is is it possible for the JVM to get an ...
1
vote
1answer
2k views

Jenkins (JVM) crashes after few minutes after start

Host OS: OpenVZ host Guest OS: Debian 6.0 minimal Java: java6 sun Servlet container: Winstone Jenkins for debian: http://pkg.jenkins-ci.org/debian/ Jenkins version: 1.449 uname -a: Linux hostname ...
1
vote
2answers
825 views

Linux out of memory on VPS

On my VPS (CentOS) 4GB ram (2 + 2 dynamically assigned when needed) and i have tomcat running with following options JAVA_OPTS="-Xms256m -Xmx2048m -XX:MaxPermSize=256m". Now when i try to start ...
1
vote
0answers
62 views

Committed memory on my tomcat server

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server. Actually I have configured JVM like that: ...
1
vote
1answer
2k views

JVM tuning in JBOSS AS 7

Can anyone explain as to where and how do I configure the following JVM parameters to tune JBOSS. I am using the latest JBOSS AS 7. I am using openJDK-6 on Linux. The following are the parameters ...
1
vote
1answer
152 views

Swap space maxing out - JVM dying

I have a server running 3 WordPress instances, MySql, Apache and the play framework 2.0 on 64m initial & max heap. If I increase the max heap of the JVM that play is running in even by 16m I see ...
5
votes
5answers
8k views

How to reliably take Java Heap Dumps?

My team is running into difficulties when trying to take good heap dumps triggered by OutOfMemoryErrors. For specific reasons we are currently taking the dumps with jmap called from a bash script ...
1
vote
1answer
583 views

Migrating WebLogic 10.3.0 to new host. Slow managed server startup times

We are migrating our Blue Martini Commerce application (only supported on WebLogic 10.3.0) to a new host (Redhat 6.3 on a VMWare ESX vm). We are seeing extremely slow start up times for our managed ...
1
vote
2answers
1k views

JVM memory initializazion error after windows update

We have three Windows Server 2003 with 2 GB RAM. Server1 tomcat 5.5.25 jvm version SUN 1.6.0_11-b03 Server2 tomcat 5.5.25 jvm version SUN 1.6.0_14-b08 ...