[Performance Tuning] - when does java release commited memory back to the OS
by hari.svnit
We have a Jboss server running on a 64-bit windows server with jdk6(64 bit) .
Here is a snapshot the memory usage as viewed from jconsole.
Heap Memory Usage :
Used : 103 MB, Committed : 295 MB, Max : 571 MB
Non-Heap Memory Usage:
Used : 47MB, Committed : 47 MB, Max : 115 MB
Memory Usage as viewed from task manager : 314 MB
Running GC did not have much of an effect on the numbers.
The total used memory is 150 MB but the total committed memory is 342 MB. How does JVM decide on the amount of committed memory ?
Here are the jvm options:
-verbosegc -Xloggc:gc.log -Xms150m -Xmx600m -Xmn125m -XX:+UseParallelGC -XX:ParallelGCThreads=20 -XX:MaxHeapFreeRatio=40 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dsun.rmi.dgc.client.gcInterval=60000 -Dsun.rmi.dgc.server.gcInterval=60000
We are planning to deploy more such jboss server configurations on the same machine. So we are afraid we may run out of memory. Can somebody please help us out ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220988#4220988
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220988
17 years
[EJB 3.0] - Re: Can't get @Service to work
by chtimi2
"jaikiran" wrote :
| You mean to avoid messages from being delivered during the startup of JBoss (while your MDB hasn't yet started)? Look for DeliveryActive on this wiki http://www.jboss.org/community/docs/DOC-9334
Not exactly, i mean that i want it to never start unless i call start on the MDB's MBean (the one you pointed me to).
In other words i want it to start as inactive, and programmatically call start/stop.
I tried using DeliveryActive but it says the property doesn't exist? This seems to be somewhat of a recurring theme in the JIRA links my googling found, that's why i thought i would ask you if there was another way, or something to do about making DeliveryActive work.
The stack:
org.jboss.deployment.DeploymentException: Error for ActivationSpec class org.jboss.resource.adapter.jms.inflow.JmsActivationSpec as JavaBean; - nested throwable: (java.beans.IntrospectionException: No property found for: DeliveryActive on JavaBean: org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2975fa(ra=null destination=topic/NoeudsPerdusDestination isTopic=true tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5))
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220987#4220987
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220987
17 years