Game runs fine in sun jvm, microsoft jvm causes 99% cpu usage and is SLOW

In the microsoft JVM (my target platform) I get 2 frames per second... in the sun JVM I get at least 60.
The strangest part, is that this only repros when iexplorer.exe is the only process running java anything... for example, if I have net beans running, I get 60 FPS in the microsoft JVM as well. That makes no sense to me.
I have tried thread.yeild and thread.sleep in my main loop, and that didn't fix anything.

In the microsoft JVM (my target platform) I get 2
frames per second... in the sun JVM I get at least
60. Don't use the MS JVM. I
The strangest part, is that this only repros when
iexplorer.exe is the only process running java
anything... for example, if I have net beans running,
I get 60 FPS in the microsoft JVM as well. That
makes no sense to me.
I have tried thread.yeild and thread.sleep in my main
loop, and that didn't fix anything.About these 2 methods.
sleep() // example in almost every book. Leaves
// Thead on the schedule list
yeild() // Pell mell as in no control of when it unyields.
// prone to race/deadlock UNLESS monitored by
// another thread that wakes up periodically.
Tony's "Theorized" <- make the uptight acedemic sycophants happy.
Law of the exec constant.
"Any Thread or process *that locks the system MUST yeild controls for at
least 20MS pre iteration."
Why 20MS? It gives the underlying OS a little slice and is enough
to ensure everything gets enough CPU. Every MS under 20 increases
the deadlock potential. (*If at zero wait you get a preempted deadlock)
You can play with this value but I have found it is pretty consistent
across CPU speeds / hardware/
Use a synchronized wait() in your main run method every iteration.
Objet waitObject();
synchronized(waitObject)
try
   waitObject.wait(20);
catch(InterruptedException ie)
}wait() Removes the Thread from being scheduled.
This iwll give IE the CPU it needs and your CPU should dro
to around 1%.
Hmm now how many kicked dog howls am I going to get about his message
(T)

Similar Messages

  • Web & Ejb run fine on sun appserver 8.2,but not on jboss 4.0.2

    Hi ,All
    In JSC 2.1 , web call Ejb's method, run fine on sun appserver 8.2,but happend error on jboss 4.0.2,as follows:
    ==========================================================================================================================
    2007-04-11 21:04:12,093 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[yx]] Error Description
    java.lang.ClassCastException
         at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
         at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
         at czqx.menusession.MenuSessionClient.create(MenuSessionClient.java:31)
         at czqx.menusession.MenuSessionClient.authPassword(MenuSessionClient.java:45)
         at yx.login.loginButton_action(login.java:365)
    ==========================================================================================================================
    xml files in yx.war as follows:
    ========================================================================
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/MenuSession</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>czqx.MenuSessionHome</home>
    <remote>czqx.MenuSession</remote>
    <ejb-link>CzqxEjb.jar#MenuSession</ejb-link>
    </ejb-ref>
    <resource-ref>
    <description>DataSource</description>
    <res-ref-name>jdbc/MSSQLDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    ========================================================================
    sun-web.xml
    <sun-web-app error-url="">
    <ejb-ref>
    <ejb-ref-name>ejb/MenuSession</ejb-ref-name>
    <jndi-name>corbaname:iiop:localhost:24700#ejb/MenuSession</jndi-name>
    </ejb-ref>
    <resource-ref>
    <res-ref-name>jdbc/MSSQLDS</res-ref-name>
    <jndi-name>jdbc/MSSQLDS</jndi-name>
    <default-resource-principal>
    <name>sa</name>
    <password>1234</password>
    </default-resource-principal>
    </resource-ref>
    </sun-web-app>
    ==========================================================================
    jboss-web.xml
    <jboss-web>
    <resource-ref>
    <res-ref-name>jdbc/MSSQLDS</res-ref-name>
    <jndi-name>jdbc/MSSQLDS</jndi-name>
    </resource-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/MenuSession</ejb-ref-name>
    <jndi-name>ejb/MenuSession</jndi-name>
    </ejb-ref>
    </jboss-web>
    ==========================================================================
    xml files in CzqxEjb.jar as follows:
    ==========================================================================
    ejb-jar.xml
    <ejb-jar>
    <display-name>CzqxEjb</display-name>
    <enterprise-beans>
    <entity>
    <ejb-name>Menuinfo</ejb-name>
    <home>czqx.MenuinfoRemoteHome</home>
    <remote>czqx.MenuinfoRemote</remote>
    <ejb-class>czqx.MenuinfoBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>Menuinfo</abstract-schema-name>
    <cmp-field>
    <field-name>menuid</field-name>
    </cmp-field>
    </entity>
    </enterprise-beans>
    </ejb-jar>
    ==========================================================================
    jboss.xml
    <jboss>
    <enterprise-beans>
    <entity>
    <ejb-name>Menuinfo</ejb-name>
    <jndi-name>ejb/Menuinfo</jndi-name>
    </entity>
    <session>
    <ejb-name>MenuSession</ejb-name>
    <jndi-name>ejb/MenuSession</jndi-name>
    </session>
    <entity>
    <ejb-name>Operinfo</ejb-name>
    <jndi-name>ejb/Operinfo</jndi-name>
    </entity>
    <entity>
    <ejb-name>Charcominfo</ejb-name>
    <jndi-name>ejb/Charcominfo</jndi-name>
    </entity>
    <entity>
    <ejb-name>Roleinfo</ejb-name>
    <jndi-name>ejb/Roleinfo</jndi-name>
    </entity>
    <entity>
    <ejb-name>Rolerightinfo</ejb-name>
    <jndi-name>ejb/Rolerightinfo</jndi-name>
    </entity>
    <entity>
    <ejb-name>Copyerinfo</ejb-name>
    <jndi-name>ejb/Copyerinfo</jndi-name>
    </entity>
    </enterprise-beans>
    </jboss>
    ==========================================================================
    sun-ejb-jar.xml
    <sun-ejb-jar>
    <enterprise-beans>
    <ejb>
    <ejb-name>Menuinfo</ejb-name>
    <jndi-name>ejb/Menuinfo</jndi-name>
    <ejb-name>Operinfo</ejb-name>
    <jndi-name>ejb/Operinfo</jndi-name>
    <ejb-name>Charcominfo</ejb-name>
    <jndi-name>ejb/Charcominfo</jndi-name>
    <ejb-name>Roleinfo</ejb-name>
    <jndi-name>ejb/Roleinfo</jndi-name>
    <ejb-name>Rolerightinfo</ejb-name>
    <jndi-name>ejb/Rolerightinfo</jndi-name>
    <ejb-name>Copyerinfo</ejb-name>
    <jndi-name>ejb/Copyerinfo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp/>
    <ior-security-config>
    <transport-config>
    <integrity>SUPPORTED</integrity>
    <confidentiality>SUPPORTED</confidentiality>
    <establish-trust-in-target>SUPPORTED</establish-trust-in-target>
    <establish-trust-in-client>SUPPORTED</establish-trust-in-client>
    </transport-config>
    <as-context>
    <auth-method>USERNAME_PASSWORD</auth-method>
    <realm>default</realm>
    <required>false</required>
    </as-context>
    <sas-context>
    <caller-propagation>SUPPORTED</caller-propagation>
    </sas-context>
    </ior-security-config>
    <is-read-only-bean>false</is-read-only-bean>
    <gen-classes/>
    </ejb>
    <ejb>
    <ejb-name>MenuSession</ejb-name>
    <jndi-name>ejb/MenuSession</jndi-name>
    </ejb>
    <cmp-resource>
    <jndi-name>jdbc/MSSQLDS </jndi-name>
    <create-tables-at-deploy>false</create-tables-at-deploy>
    <drop-tables-at-undeploy>false</drop-tables-at-undeploy>
    <database-vendor-name>mssql</database-vendor-name>
    <!--<database-vendor-name>pointbase</database-vendor-name>-->
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    ==========================================================================
    i can't find the question by as follows link
    http://forum.java.sun.com/thread.jspa?threadID=742861&messageID=4258493
    Thanks
    Smile.

    Help me!!!
    Thanks.
    Smile

  • My macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?, my macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?

    my macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?, my macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?

    How much free disk space do you have and how much memory do you have, running which operating system? Need that information to have any basis to make recommendations.

  • TS3408 I have created a web site using iWeb. It has been running fine. I have made some changes to the site and it won't show the updates in Safari, but does show the changes in Firefox

    I have created a website using iWeb. It has been running fine, with no problems at all.
    I have recently made some changes and the updates don't show in Safari, but when I open Firefox, the changes are there. It doesn't show the updates in Chrome on my iphone either? Any suggestions?

    You can also reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)

  • High cpu usage and game lag problem

    i have a hp 15 d103 tx
    windows 8.1 64 bit
    inel i5 4200m 2.5ghz
    anti virus installed avast fee antivirus
    im using nvidia 820m geforce 344.75 version  driver
    ram installed 8gb
    im experiencing  huge amount lag in games  and software (autocad)
    whenever i run a game (for eg batman origins)    it run smooth  till 2 or 3 minutes after it lag horrribly
    for sake first im getting 45 frames per second then suddenly frame drop to 13 or even to 10
    i have to press alt + tab to check task manger it show cpu usage 30%
    after that when again i press alt tab to back to game it runs fine for 20 seconds and again lag
    i dont what the problem high cpu uasge
    system idle process sometime shows around 82%
    with 8gb of ram still expericing lag
    this problem is with  all game that i have played and software like photoshop and auto cad
    my cousin own hp 15 r007tx and having same gpu nvidia 820m  game runs for on his laptop without a lag
    is it window 8 problem or something else??

    wow finally got the solution by updating bios
    just updated the bios  from 2.7 to 2.8
    no lag now
    i guess different cpu load gpu switching on off was problem
    but now everything is running good

  • Microsoft Office 2004 -- extremely high cpu usage and virtual ram

    hi,
    when i use office it causes a very high cpu usage even when its in idle mode.
    i am unable to work with it, because its extremely slow.
    does anyone have same experiences?
    thanks for your help!
    mbp 2.0 1,5gb ram 80gb hdd   Mac OS X (10.4.7)  

    I am able to work OK with office, I'm using the 'old version' Microsoft Office v.X, not much details in the About Box, just listed as MSoft Word/Excel/etc for Mac service release 1.
    I get the occasional crash, and I have seen Word in particular use 90% of a single core and amazingly large virtual memory usage, gigabytes sometimes, but eventually the document gets printed.
    It shows how useful the dual core (or quad) cpu approach is!
    One cpu for Word to print, and one cpu to run the rest of my applications/life!
    I still use this old office rather than re-booting into Window§ for whatever is the latest version of office.
    Doing some playing with a similar one page document in Office v.X and Pages 2.01, I get Word using about 25% of a core , Pages using 5%, - whilst editing; Intel native Pages has 20% of a core and 80MB ram 480 virtual whilst printing, Word has about 100% of a core and 65MB ram 650 virtual whilst printing, but it is a powerPC code so Rosetta is in there somewhere.
    check Activity Monitor or other apps/widgets for some parasitic processes? have fun!
    many Macs 512k -> MacBool Pro 2GHz 1GB ram   Mac OS X (10.4.7)   Yes, I have Key Lime

  • TS1717 What do I have to do to keep the iTUNES program on my computer BUT NOT RUNNING on Start UP? It requires too much CPU usage on my old computer.

    What do I have to do to keep the iTUNES loaded as a program on my computer BUT NOT RUNNING on Start UP? Just opening when I want to use it.
    It requires too much CPU usage on my old computer.

    You can check you Adobe account online to see if the serial number is registered under your account.  If not then your only option will likely be to contact Adobe Support directly thru chat to see if they can provide you with a/the serial number. For them to do so will require you being able to prove ownership.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Upgrade to iTunes to 10.4.0.80 caused 100% CPU usage when I start iTunes. Task manager shows iTunes 50% mobile 50%. I am running Windows XP Professional sp3. iPhone 3 ios 4.3.5

    I upgrade to iTunes 10.4.0.80. Since then iTunes uses 50% of the CPU and Mobile uses 50% CPU. I let it run for hours and the CPU usage stayed at 100%. The phone will partially sync but takes a very long time. This was not a problem before the iTunes upgrade. I am running iTunes on Windows XP professional SP3. It does not matter if the phone is connected to the USB port of the PC. When iTunes starts it runs the CPU at 100%.

    Yes!  I am not the only one with this problem.  Ever since the latest iTunes update, the CPU runs up to 100% using both the mobiledevice and itunes itself.  The store won't work either!  I'm also on Windows XP.  I too have tried everything I can think of but nothing has helped.  I really hope they get an update out with fixes soon.  This is really annoying!!

  • Error while Deploying Bean (which is running fine on sun's server)

    Hi,
    I'm trying to deploy the same bean which is deployed & executing very well on
    J2EE server(Sun's server j2sdkee1.2.1).
    I'm using one external jar package, mgejbgnrc.jar , which contains (Magic.j2ee.MagicException
    class & some other classes).
    I've put this jar in %JAVA_HOME%/jre/lib/ext/
    And i'm getting following error while deploying the jar.
    Where i'm doing mistakes? I've also set the classpath correctly.
    Is it weblogic's problem , that we can't use external package. Because same bean
    is working on Sun's Server.
    Will anybody help me regarding this?
    Undeploying EJB Component Vineet
    <May 19, 2000 2:19:47 PM GMT+05:30> <Error> <Management> <InvocationTargetExcept
    ion setting attribute Deployed on MBean mydomain:Name=Vineet,Location=myserver,T
    ype=ApplicationConfig to value true. Method: public void weblogic.management.mbe
    ans.custom.Application.setDeployed(boolean) throws weblogic.management.Deploymen
    tException,weblogic.management.UndeploymentException
    java.lang.NoClassDefFoundError: Magic/j2ee/MagicException
    at java.lang.Class.getMethods0(Native Method)
    Regards,
    Devendra

    problem solved.

  • High CPU usage and continuously running fan

    I recently sent off a logicboard to be repaired for a non-charging issue.  Everything worked fine with the exception of the battery would not charge.  I received the board back today and noticed immediately that the fan starts running at high speed within 10 seconds of pushing the power button.  It also boots extremely slow and when it does finally, eveything takes forever to open.  It seems to operate better in safe mode but the fan is still running at about 6200 rpm.  Using iStat, I noticed that the temperature itself is not that bad.   The CPU is running at about 32 C.  And it doesn't feel hot to the touch at all.  But the fan never shuts off.  I have tried an SMC reset and PRAM reset, no joy.   I tried a new hard drive, still no joy.  When I can finally get into Activity Monitor, it says that Kernel_task is using upwards of 200% of the CPU.  Any suggestions on what I can try to get this kernel_task issue corrected and get the fan to slow back down?  Thanks in advance for any light anyone can shed on this.  
    Macbook Pro 2010 13 inch
    Tami

    I was able to run the Apple Hardware Test and the error is:
    4SNS/1/C0000008: TsOP- - 124
    Apparently that has something to do with a temperature sensor.  Of course, I can't find any information on how to replace it or even where it might be located.   Don't even know if it's replaceable.  Can't believe I just got this logic board back from being "fixed" and it's not "fixed!

  • CPU Usage and the X-Fi Xtreme Gam

    I've seen threads similar, but the problem is a little different. I just installed the basic driver and nothing else. And Ive even deleted the other files that aren't required that came with it. But my problem persists. I still see -27% of CPU usage after installing the driver from the website, immediately after installing it. (Had no driver previously). The thing is, in my processes list, my Idle is 99, and everything else on the list shows 00. Its really killing my gaming. Any answers?

    Hi Jayk88,
    I think GreggH is talking about the one released on the 29th of May. This beta driver is meant for the X-Fi Xtreme Audio PCI version only. The latest beta driver for the PCI-e card dates back to 6th Feb.
    Message Edited by KokChoy-CL on <span class='local-date'> 06-02-2009<span class='local-time'> :5 [email protected]

  • Forms 10g rel 1( 9.0.4 ) vs SUN JVM 1.5

    Hello:
    From SUN site you can read :
    "Changes in 1.5.0_06
    The full internal version number for this update release is 1.5.0_06-b05 (where "b" means "build"). The external version number is 5.0u6.
    Security Enhancements
    Prior to this update, an applet or application could specify the version of the JRE on which it would run. This has changed. All applets are executed with the latest JRE version. Unsigned Java Web Start applications that specify a version other than the latest trigger a warning, requiring explicit user permission before the application will run. Signed Java Web start applications are not affected. "
    Assuming that our customer will use SUN JVM , NOT Oracle JInitiator.
    We have seen that if in a client machine it is installed SUN JVM 1.4.2_10 ( certified ) AND SUN JVM 1.5 or newer.
    there is NO WAY to force Forms 9.0.4 applications to run with SUN JVM 1.4.2_10.
    In spite of doing the following settings at formsweb.cfg
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_10
    when you run forms 9.0.4 applications from a browser in that machine, SUN JVM 1.5 is mandatory used by the browser.
    It seems that IT IS IMPOSSIBLE to tell 9.0.4 to use SUN JVM 1.4.2_10 because SUN prevents it according to the above documentation .
    Q1) I thank your comments on this
    Then, when you look for certification info:
    a) you can get this info for Forms 10g R2
    http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html
    b) you can get this info for Forms 10g R1
    http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.ht
    ml
    Q2) What are ORACLE plans about certification of SUN JVM 1.5 AND Forms 10g Rel 1 ( 9.0.4 ) ?
    Thanks in advance,
    Fernando Rey

    Hi Guys,
    I am currently testing our portal with a number of JRE version or Jinitiator and the SUN JRE.
    I found some very useful information about changing the registry of the local PC to re-enable specific versioning, see info, below.
    I have tested this and it does work, but you need to be careful with Sun JRE versions to ensure that you are on 1.5.0.7 or higher.
    Another useful link is this discussion over on the sun forums.
    http://forum.java.sun.com/thread.jspa?threadID=730855
    Good Luck
    Scott
    We have found a conflict with the Sun JRE 1.4.2.6 and version Sun JRE 1.5.0.6
    To get around this conflict a registry key has to be added onto the users PC and the user needs to remove 1.5.0.6 and install 1.5.0.7 or higher. To make matters worse the auto-update feature in version 1.4, if left enabled, will update the user to 1.5.0.6 even thought the latest release from the sun web site is 1.5.0.8 !
    Therefore can you add this registry key onto the automated install of the Sun 1.4.2.6 setup as per the instructions below.
    Troubleshooting Conflicting JPI Versions on the Desktop:
    Per oracle note 368775.1, JRE 1.5 will not allow static versions. In other words version 1.5
    may override your required version of 1.4.2. They call it a security feature, but it can reek
    havoc with oracle forms. This section addresses a possible workaround.
    If your users either need to run JPI 1.5 for any reason, here is the workaround to force
    BANNER to use ONLY version 1.4.2.
    If you launch forms and in the java console it shows version 1.5.X, perform the following
    steps.
    1. Make a backup of the windows registry
    2. Edit the registry
    3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\
    4. Create a new directory by highlighting the key above and pressing <RIGHT
    CLICK>/<NEW KEY>
    5. Rename the key to [Java Deployment]
    6. Highlight the new key created in step 5 and press <RIGHT CLICK>/<NEW KEY>
    7. Rename this new value to [Policy]
    8. Highlight the new key created in step 7 and press <RIGHT CLICK>/<NEW DWORD>
    9. Rename this DWORD to “EnableSecureStaticVersioning”
    Re-launch forms and verify via the java console that the desktop is returning 1.4.2.

  • Production Client Side Apps not using Sun JVM?

    Just wondering if anyone here deploys a non-Sun JVM to client machines?
    The impression I get is that everyone tends to just stick with the Sun JVM because is easily available and reliable.
    However, I'm considering suggesting that our clients move to a different JVM for the performance reasons described below:
    I wrote a series of performance tests to measure the time taken to repeat certain common tasks from our apps. I was surprised to find that the BEA JRockit JVM outperformed the SUn JVM by a long, long way in certain tasks, and was slower in none.
    Here's a selection of (subjective) results:
    Log Lines written per second - Sun 21,000 BEA 29,000
    Time taken to call (100000000) methods - Sun .907s BEA .269s
    Time taken to call (100000000) sync methods - Sun 17s BEA 12.4s
    Time to create big byte array - Sun 125ms BEA 32ms

    i would go for the intel/dual-proc optimisation answer for the difference.
    Although 50%? Logging to files uses most time with file access. Didn't know that was optimized either. (learning new stuff every day :-)
    But then again, 1 great thing about Java: write once, run anywhere (on any JVM, except for mickeysoft: they have their own neat thingie called the M$ VM, which downgrades performance by a 1000% and uses the 1.1.3 spec)
    As a thumb rule: either provide the JVM of your choice to your customers and make it mandatory to use that one, or make sure that it runs with (reasonable) performance under the slowest JVM. (p.s. 99% of the users use the Sun JVM for what i've seen, so if you let your clients choose: Sun's the way to go).

  • Missing SessionBeans when using SUN JVM 1.5.0.06

    Hi all,
    I am using WLS10 downloaded from the BEA website.
    I created a domain using JRockit JVM and deploy my application (serveral Entities, SLSBs and webservices) and all goes well.
    Our customers need is SUN JVM, so I created another domain using the bundled SUN JVM (1.5.0.06) and deploy exactly the same application - now some SLSB are missing, and thus the activation fails. (no errors in the log file before the activation)
    I stripped down the application to just contain the Entities, the SLSBs that deploy anyway and one of the beans that is missing. and in that bean I started to disable lines method by method until the bean deployed.
    Then I started enabling line by line until the bean did not deploy anymore.
    I am stuck at the following problem now:
    As soon as I enable a line that contains a call to one of my helper classes (POJO with just static methods using byte[], String and BigInteger) the bean is not deployed anymore - still no problem in the logs!
    The really strange is that exactly the same method of the same helper class is used in other methods that were enabled before or never disabled, and all went well!
    I just don't have any clues left what I could do.
    Anyone of you having an idea???
    thanks for your help.
    M

    Oh I forgot to mention that I am using EJB 3.0

  • JVM utilising 100% CPU resources

    I have an application deployed to Oracle9iAS application server running on sunE280 with 2 processors and 4 higs ram. I have 1 oc4j process (JVM) serving my application. When there is heavy load on the system CPU utilisation peaks to 100% and the application stops responding. My oc4j processes (JVM) is running with 128m max heap size. So i increased the heap from default setting to min256m and Max512m sizes. I also increased the number of oc4j processes from 1 to 2.
    At some point of time, both the oc4j processes utilise 48% of the CPU resouces each and then the application stops hanging. I did a vmstat and iostat on the system and below is o/p
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr m1 m2 m3 m4 in sy cs us sy id
    0 0 0 4516376 2536400 25 76 150 0 0 0 0 0 0 1 0 349 99 1440 7 3 90
    16 0 0 3945456 1787720 0 12 16 0 0 0 0 0 0 0 0 544 85221 2399 83 16 0
    14 0 0 3945456 1787712 0 15 12 0 0 0 0 0 0 0 0 574 82593 2547 81 18 1
    16 0 0 3944856 1787288 54 483 28 0 0 0 0 0 0 16 1 667 93353 2792 76 24 0
    15 0 0 3940208 1787088 34 276 16 0 0 0 0 6 0 8 0 667 93823 2736 75 25 0
    14 0 0 3945208 1787544 0 11 16 0 0 0 0 0 0 0 0 695 92164 3103 85 15 0
    14 0 0 3945248 1787584 0 1 8 0 0 0 0 1 0 14 0 647 96116 2818 83 16 1
    14 0 0 3945208 1787544 0 27 0 0 0 0 0 0 0 16 5 689 96923 2718 83 14 3
    11 0 0 3945184 1787520 23 229 32 12 12 0 0 0 0 0 0 628 81816 2683 79 21 0
    iostat 2 10
    tty md1 md2 md3 md4 cpu
    tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
    0 20 3 0 42 0 0 28 4 1 15 2 0 20 7 3 2 88
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 83 16 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 81 18 0 1
    0 0 0 0 0 0 0 0 8 16 8 0 1 21 76 24 0 0
    0 0 48 6 56 0 0 0 4 9 6 0 1 38 75 25 0 0
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 85 14 0 0
    0 0 1 1 20 0 0 0 65 12 24 0 0 0 82 16 0 1
    0 0 0 0 0 0 0 0 41 19 20 18 5 22 83 14 0 3
    Can someone provide me any clue as to why the JVM peaks in CPU utilisations and then stops responding?

    Check Oracle's MetaLink (http:\\metalink.oracle.com) bug number 2218716. There is a problem with OC4J Containers and the FIXED_WAIT_SCHEME when the maximun number of connections is reached.
    Just in case you don't have access to it, here is part of the document:
    SUGGESTED FIX: Introduce a new cache property, CacheFixedWaitSleepTime, on OCCImpl (with setter/getter methods). In the while loop that yields when MAX+1 connection is requested, simply sleep for the number of milliseconds.
    WORKAROUND: Use other cache schemes, (1) DYNAMIC_SCHEME (2) FIXED_RETURN_NULL_SCHEME
    Hope the helps ...

Maybe you are looking for

  • Can't save new address from Mail.app

    Hi. I forget the name of the service, but when an address shows up in a Mail message you can select it and get a pop-up to add or update a contact in Address Book. It doesn't work when I try to do that. This error shows up in the log: 1/8/10 8:27:06

  • Display as Text page items - How to change color based on Value

    Hi, I have a bunch of page items that I would like to display in red if they contain a minus "-" sign. My guess is that this can be done with a template. Right now they are using the Optional Label with Help template. How might I elegantly specify to

  • Re: 3rd Strike -or- How I Learned to Hate Skype

    I hate them too cause this skype thing i thought i wanted it to talk to my Grandson except it never worked (offensive text removed).

  • Time Machine Cannot Recover Grey Items!!

    Hi, I need to retrieve some files from my Time Machine. By surfing in the past, from about one month ahead, I can see what I had in the folder i was looking for but the subfolders are grey colored and cannot be accessed or recovered!! Please help

  • WTC timeout error? TPETIME(13):0:0:TPED_MINVAL(0):QMNONE(0):0

    Hello, I'm attempting to connect to a tuxedo domain, but keep getting snagged with this exception on the tpcall method. TPETIME(13):0:0:TPED_MINVAL(0):QMNONE(0):0 The only noticable error I'm seeing in the logs is the following... <ExecuteThread: '2'