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
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. ...
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 ...
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 ...
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
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 ...
-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 ...
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
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
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 ...
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
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
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 ...
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 ...
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 ...
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
683 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 ...
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 ...
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 ...
0
votes
1answer
308 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 ...
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 ...
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
2answers
824 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 ...
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 ...
0
votes
1answer
202 views

Difference between JMX and PMI

I'm not a websphere admin but I understand the basics of JMX and PMI. I'm wondering what's the difference between them.
1
vote
0answers
210 views

what is the default size of jvm heap when using maven to create jvm?

I am using the server started by the following command. mvn jetty:run i want to stop the server, but i failed to run mvn jetty:stop, even faild to run java -version, why? [mirror@home wpse]$ mvn ...
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 ...
-1
votes
1answer
90 views

How many JVM process on a hardware [duplicate]

Possible Duplicate: Can you help me with my capacity planning? If CPU and RAM on a production host allows more than one JVM (server instances) to run in parallel (to build server farm). How ...
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 ...
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 ...
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
206 views

Reduce Tomcat6 memory footprint

This is my setenv.bat (windows installation). It's the MySQL enterprise monitor service manager. set JAVA_HOME=D:\MYSQL_~2\SERVIC~1\java set JAVA_OPTS= ++JvmOptions="-XX:+UseParallelOldGC" ...
0
votes
2answers
2k views

Tomcat thread consumes maximum CPU

We have a Tomcat 7.0.21 server running on OpenJDK Server VM (20.0-b11 mixed mode). The webapp runs well for usually several hours or days after startup - typical CPU load is 1-2%. At some point, the ...
0
votes
1answer
184 views

JVM garbage collection: What is the difference between “survivor 1” and “survivor 2”?

In Oracle's Java Virtual Machine's Garbage Collector, what are the respective roles of "survivor 1" and "survivor 2" ? Are the objects always moving like: Eden → Survivor 1 → Survivor 2 Or can 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 ...
3
votes
1answer
438 views

What are the best practices for monitoring and alerting for low level JVM metrics?

I'm looking to set up monitoring and alerting for java server based app and want to find some best practices for monitoring JVM specific metrics and for designing alerts based on those metrics. So ...
1
vote
0answers
166 views

How to make glassfish v3.1.1 run with -Xmx256m?

I have a t1.micro amazon instance and that machine have very scarce resources. I need for the moment to run glassfish3.1.1 (due to complete JEE6 support) on those conditions. Any guidance is welcome. ...
1
vote
2answers
941 views

Performance issue with JVM (1.6.0_22) invoking OS command on Solaris 10

My high-level problem is my build tool (Maven) which became suddenly very slow on a Solaris 10 environment. A build which was taking 8 minutes now takes 50 minutes. I narrowed this problem down to a ...
0
votes
1answer
525 views

Eclipse for PHP is unable to locate JRE

I have JRE installed on my system. In fact, Eclipse IDE for Java, which also needs JRE, is already running. Now I tried running Eclipse for PHP and it says - A JRE or JDK must be available in order ...
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 ...
3
votes
1answer
281 views

SysRq, task list and missing processes

I've been troubleshooting a pretty difficult issue on Linux where a JVM appears to hang. As part of the investigation, I've been trying to capture the list of current tasks and their state using one ...
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 ...