What would make a JVM memory size 1.9GB ?

This is on Solaris 2.6, JDK 1.2.2_05a, JDK1.2.2_07, possibly JDK 1.3 (it crashed).
WLS 5.1, SP8. With inline_instrs_jit=0.
This is the [heap] segment shown by /usr/proc/bin/pmap. This is native heap, it is
NOT the Java Heap.
I know it could be the Type 2 db drivers - but I doubt it.
With JDK1.3 we set -XX:MaxPermSize=128m - it crashes after an hour.
One part of the application creates its own threads for some parallel processing.
Is this a known
problem with the JVMs?
Any help is much appreciated.
Mike Reiche

What is the 'Break difference' that the debug JVM shows? Is that the Java Heap? Or
is memory in the C Heap that is wasted by fragmentation?
============== C Heap Report ========================
mmap space 300515328
Committed space 95690752
Allocated space 34049316
Break difference 66060288
Breakdown by type:
ClassSpace 15252128
JITCompiledStackMaps 5277188
StackMap 1892672
Dependency 1856760
utf8_space 1854838
untagged 1783520
basicBlocksState 1664992
utf8_table 1055903
Class 811520
JITPrestub 610480
NearClass 531360
CardObjectTable 386048
JavaStack 257024
CheckingDone 200367
SummaryCardTable 193024
name_loader_cache_entry 65976
ScratchRecord 65548
basic_block_t 50896
IntfMethodTable 48960
stringTableOverflowRecord 46480
BitVectorElem 32768
ObjectMap 30724
ClassName 28407
Clinit 18752
Table_mem 18628
LoaderConstraintsTableEntry 11668
JITInlineByteCode 1928
LoaderConstraintsTableLoaderEntry 520
stateVecBuf 237
=====================================================
Total GC time: 2987981 ms
- Mike
"[email protected]" Mike wrote:
>
>
Aslo - GC[1] are taking way long (Debug JVM) - I'm used to seeing them taking
500
ms with the regular JVM. With -ms32m -m256m - I wanted GC[1] to run often
because
that has helped with other memory problems in the past - it doesn't work
so hot here.
GC[1] in 5514 ms: (38Mb, 0% free) -> (38Mb, 69% free)
GC[1] in 6300 ms: (38Mb, 0% free) -> (38Mb, 65% free)
GC[1] in 7130 ms: (38Mb, 0% free) -> (38Mb, 64% free)
GC[1] in 6158 ms: (38Mb, 2% free) -> (38Mb, 62% free)
GC[1] in 6171 ms: (38Mb, 0% free) -> (38Mb, 65% free)
GC[1] in 6885 ms: (38Mb, 0% free) -> (38Mb, 64% free)
GC[1] in 7403 ms: (38Mb, 0% free) -> (38Mb, 61% free)
GC[1] in 689101:25:49 PM PST {218} - Evaluation is: true
GC[1] in 6545 ms: (38Mb, 1% free) -> (38Mb, 61% free)
GC[1] in 7459 ms: (38Mb, 0% free) -> (38Mb, 62% free)
GC[1] in 6861 ms: (38Mb, 2% free) -> (38Mb, 58% free)
GC[1] in 6090 ms: (38Mb, 0% free) -> (38Mb, 56% free)
GC[1] in 6413 ms: (38Mb, 0% free) -> (38Mb, 60% free)
GC[1] in 8230 ms: (38Mb, 1% free) -> (38Mb, 58% free)
GC[1] in 7649 ms: (38Mb, 0% free) -> (38Mb, 54% free)
GC[1] in 7912 ms: (38Mb, 0% free) -> (38Mb, 55% free)
GC[1] in 7696 ms: (38Mb, 1% free) -> (38Mb, 57% free)
GC[1] in 6543 ms: (38Mb, 1% free) -> (38Mb, 60% free)
GC[1] in 7036 ms: (38Mb, 1% free) -> (38Mb, 59% free)
GC[1] in 7483 ms: (38Mb, 0% free) -> (38Mb, 56% free)
GC[1] in 5132 ms: (38Mb, 1% free) -> (38Mb, 59% free)
GC[1] in 8186 ms: (38Mb, 0% free) -> (38Mb, 53% free)
GC[1] in 5691 ms: (38Mb, 0% free) -> (38Mb, 58% free)
GC[1]01:35:49 PM PST {575} - Evaluation is: true
GC[1] in 8176 ms: (38Mb, 0% free) -> (38Mb, 46% free)
GC[1] in 8463 ms: (38Mb, 0% free) -> (38Mb, 47% free)
GC[1] in 7342 ms: (38Mb, 0% free) -> (42Mb, 41% free)
GC[1] in 6920 ms: (42Mb, 0% free) -> (49Mb, 41% free)
GC[1] in 8610 ms: (49Mb, 1% free) -> (60Mb, 40% free)
GC[1] in 9581 ms: (60Mb, 1% free) -> (60Mb, 50% free)
GC[1] in 10514 ms: (60Mb, 0% free) -> (60Mb, 59% free)
GC[1] in 9865 ms: (60Mb, 0% free) -> (60Mb, 60% free)
GC[1] in 11323 ms: (60Mb, 0% free) -> (60Mb, 57% free)
GC[1] in 18768 ms: (60Mb, 0% free) -> (60Mb, 60% free)
GC[1] in 11147 ms: (60Mb, 0% free) -> (60Mb, 55% free)
GC[1] in 7293 ms: (60Mb, 0% free) -> (60Mb, 42% free)
GC[1] in 9372 ms: (60Mb, 0% free) -> (60Mb, 53% free)
GC[1] in 8814 ms: (60Mb, 0% free) -> (60Mb, 55% free)
GC[1] in 9695 ms: (60Mb, 1% free) -> (60Mb, 54% free)
GC[1] in 7309 ms: (60Mb, 0% free) -> (60Mb, 53% free)
GC[1] in 8713 ms: (60Mb, 0% free) -> (60Mb, 54% free)
GC[1] in 11955 ms: (60Mb, 0% free) -> (60Mb, 55% free)
GC[1] in 12685 ms: (60Mb, 1% free) -> (60Mb, 55% free)
GC[1] in 18906 ms: (60Mb, 0% free) -> (60Mb, 58% free)
GC[1] in 13333 ms: (60Mb, 0% free) -> (60Mb, 51% free)
"[email protected]" <[email protected]> wrote:
Rob -
Thanks for your attention -
We create lots of threads - up to five threads for each DB hit (i didn't
design it).
The multi-threading will be disabled/removed and tested later on today.
Both 'top'
and pstack show around 85 threads.
I've read articles on the bea newsgroups about WL hanging on to threadreferences
so that the threads could not be GC'ed, but it sounded more like a customer's
impression
of what might be going on than something from BEA engineering.
Right now we are running with the 1.2.2_05a 'Debug' JVM with -verbose:gc
-verbose:gc
-verbose:gc
JVMARGS=verbose_c_heap,inline_instrs_jit=0
Unfortunately, some of the code being tested is now broken and not being
excercised
today. I will keep you posted.
- Mike
Rob Woollen <[email protected]> wrote:
How many threads are you creating?
Each thread uses some memory (stack etc.), but 1.9GB would be a lot of
thread creation.
-- Rob
Mike Reiche wrote:
This is on Solaris 2.6, JDK 1.2.2_05a, JDK1.2.2_07, possibly JDK 1.3
(it
crashed).
WLS 5.1, SP8. With inline_instrs_jit=0.
This is the [heap] segment shown by /usr/proc/bin/pmap. This is nativeheap, it is
NOT the Java Heap.
I know it could be the Type 2 db drivers - but I doubt it.
With JDK1.3 we set -XX:MaxPermSize=128m - it crashes after an hour.
One part of the application creates its own threads for some parallelprocessing.
Is this a known
problem with the JVMs?
Any help is much appreciated.
Mike Reiche--
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnweblogic.com

Similar Messages

  • Increasing JVM memory size at runtime

    I want to increase the JVM memory size at runtime.
    I found out that I can do this with oracle.aurora.vm.OracleRuntime.setMaxMemorySize(...)
    Which JAR do I have to put on the classpath to be able to acces OracleRuntime???
    What would be the proper implementation to incerase the memory size?

    aurora.zip

  • What would make YOU upgrade from a 2011 to a 2012 MBA?

    What would make you upgrade from a 2011 MBA to a 2012 MBA?
    For me, the following woud be important for an 13'' MBA upgrade:
    keep the low weight or even improve it
    do not sacrifice battery life
    offer an 8 GB memory option
    offer USB 3.0 in addition to Thunderbolt
    Pretty simple, isn't it?

    carl wolf wrote:
    There is no "2012 MBA".
    True, but expecting a similar cycle of time between revisions is no more "strange" than expecting 2013 to arrive. I call it confidence in Apple's innovation cycles.
    Yes, I suppose it is "speculating" in the harsh sense of the word, but so would talk about Apple's mere existence in the future. Right?

  • What would be the best Memory to purchase for my iMac 7.1 I want to upgrade from Leopard to Snow Leopard or Lion

    What would be the best Memory to purchase for my iMac 7.1. I want to upgrade from OS Leopard to Snow Leopard or Lion?

    Crucial.com and macsales.com (OWC) sell RAM tested to work with Macs.  Prices are good and the sites will guide you to the maximum you can install (even if the "official number" from Apple release at time of system design is different).

  • Increase JVM memory size in build.xml?

    Hi,
    I want to know if it is possible to increase the JVM memory size in the "build.xml" file of my java fx project itself?If so,how to go about it?
    Thanks a lot.

    I think you can achieve that by specifying <fx:jvmarg>.
    For example:
    <fx:deploy width="${applet.width}"
                   height="${applet.height}"   
                   embedJNLP="true"
                   nativeBundles="all"
                      outdir="${dist.dir}" 
                   outfile="${application.title}"
                   verbose="true">
         <!--
         Increase JVM memory size.
         http://docs.oracle.com/javafx/2/deployment/javafx_ant_task_reference002.htm#CIAGFFIF
         -->
         <fx:platform javafx="2.2+" j2se="7.0">
              <fx:jvmarg value="-Xms64M"/>
              <fx:jvmarg value="-Xmx512M"/>
         </fx:platform>
    </fx:deploy>Hope that helps!
    Edited by: ytw on Nov 16, 2012 12:30 PM

  • What would make my Cp7 course get hung up during the loading process when launching on LMS?

    In Cp7, I created a SCORM project to post on our LMS and submitted it for testing. Our LMS department confirmed it worked successfully, and in fact I tested it myself – it worked great. However, my work team asked me to make some changes to the content before pushing it out of the testing phase to launch company-wide. Per company policy, making changes to a course means resubmitting it once more to be tested before making it available to everybody. So I made the requested changes and resubmitted it for testing. Now our LMS department reports the course will not launch properly – it gets stuck in the loading process. It shows “Loading...” endlessly but never loads.
    When I submitted the updated version for testing, I kept all the project settings that worked successfully the first time. The changes I made to the project were:
    I added a slide toward the beginning (slide 2) to give the user navigation tips.
    I set slides so that each one must play all the way through before the user can proceed to the next slide (I think I did this simply by removing “play” on the playbar”).
    Under table of contents settings, I checked “navigate visited slides only,” so the user can navigate backwards using the contents bar at left, but can only navigate forward to slides that have already played or to the next slide in the queue.
    I broke up a couple of lengthy multiple choice questions into shorter ones (for an additional two slides).
    Is there any reason one of these changes would make the course get hung up during loading?
    Is there a size limit Cp7 projects which, if exceeded, might be causing such an issue? 
    Or does anyone have ideas about what else might be making it get hung up in the loading process?
    Thank you, any and all, for your feedback.

    back up the iPhoto library like any other backup - make a copy of the iPhoto library in case of problems
    you Depress the option (alt) and command keys and launch iPhoto - anyplace you can launch iPhoto you do this - keep the keys down until you get the rebuild window
    LN

  • What would make my iMac start to smoke?

    While working on,my computer tonight it shut down.  t had been working fine but just simply lost power.  When I turned it on, it was smoking!  I turned it off immediately but there was quite a lot of smoke...scared me to death.  What would cause that to happen?  How long before I can turn it back on?   Is there permanent damage to the computer?  t did not feel not at all which it sometimes does.

    I so much appreciate yours and Allan's  vwrious options and suggestions.  Ive been giving tne situation some careful thought and, while I can't really afford a new computer (who can? ) I think taking the plunge is probably the wisest thing to do.  I don't think this computer is fixable, but even if it were, the cost would be significant and I would still have an iMac that is just over five years old.  I"m thinking I would rather put possible repair costs towards a new ome. 
    My decision now is do I want a other iMac or should I get a laptop?  The laptops are expensive but for a variety of reasons I think it would better serve my current and future needs.  My only concern is that I have some vision problems that will probably make it necessary to get tne 15  inch and, yikes, is it expensive!!! 
    I must say, as I have since I got my first computer 15 years ago, I would never have made it without these Apple boards.  I have had the best help and advice from everyone here...much better than calling Apple, although they are good as well.  Thanks again for your help....beware, though, that when I get the new computer, you may be in even greater demand!

  • What would make a Mac power cord die?

    My Mac power cord seems to be dying -- the green light is barely visible and it only charged my computer to 10% after all night.  What would cause this and is there any remedy short of buying a new one?

    Unfortunately, the power bricks are sealed and not user serviceable. At least when they do stuff like this. However, the problem may lie in the power circuits in the Mac. Best bet is to take it to an Apple Store or a Service Provider so they can run tests and determine the real cause. Heck, might get lucky and have it replaced for free!

  • Can I set JVM memory size when running applets?

    Hi,
    I have downloaded an applet that renders panoramic images and
    I have a problem with Java memory. I remember that default maximum
    size that applet can use is 70MB, and the problem is 70MB is
    not enough when rendering big images. It is OK when I add
    "-Xmx -Xms" parameters in the Java Control but I cannot tell
    everyone who wants to see my images to go control panel, add
    parameters etc..
    So my question is...
    Is it possible add "-Xmx -Xms" parameters inside the applet file
    so that these parameters run automatically when executing applet?
    Thanks in advance for your reply!
    Hyung

    Hi,
    I have downloaded an applet that renders panoramic
    images and
    I have a problem with Java memory. I remember that
    default maximum
    size that applet can use is 70MB, and the problem is
    70MB is
    not enough when rendering big images. It is OK when I
    add
    "-Xmx -Xms" parameters in the Java Control but I
    cannot tell
    everyone who wants to see my images to go control
    panel, add
    parameters etc..
    So my question is...
    Is it possible add "-Xmx -Xms" parameters inside the
    applet file
    so that these parameters run automatically when
    executing applet?
    Thanks in advance for your reply!
    HyungA potential workaround I would try is is use ByteBuffers
    (T)

  • What would be the maximum datafile size that can support sql*loader

    Hi,
    I would like to load datafile from xls file which nearly 5 gb into oracle table by using sql*loader. Could you please tell me how much is max datafile size we can load by using sql*loader?
    Thanks
    VAMSHI

    Hello,
    The Size limit is mainly given by the OS. So you should care about what the OS could support as SQL*Loader files are unlimited on *64 Bit* but limited to *2GB* in *32 Bit* OS:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10839/appg_db_lmts.htm#UNXAR382
    Else, you should be able to load these data into the Table. So you must check that you have enough place inside the Tablespace and/or the Disk (if the Tablespace has to be extended).
    Please find enclosed a link about SQL*Loader and scroll down to Limits / Defaults:
    http://www.ordba.net/Tutorials/OracleUtilities~SQLLoader.htm
    Hope this help.
    Best regards,
    Jean-Valentin

  • What determines the client connection memory size?

    We are trying to scale up the number of connections on our db - (dedicated not shared) .. but quickly consume the box.
    Its 11gr1 - Linux .. 500G of memory ..
    The "only" parameter we have set is:
    *.memory_target=216522555392  (~200G)
    Processes set to 6000 - but are are only around 1800 at this point.
    We are seeing (via top) client connections with a reserved memory of 25-30g (usually the dbwr type processes) and client connections showing 5-10G in size.
    With clients taking this much memory,  we start to see swapping on the box. In our dev/qa environment the clients are in the MB range .. of course they are not seeing real world traffic so I presume that memory requirements are growing as the app runs.
    Can we set something to reduce the footprint of the client connections?
    Thanks for any tips..
    If we get one db bounce this year .. we want to be right .. cant guess here..
    Daryl

    DarylE. wrote:
    We are trying to scale up the number of connections on our db - (dedicated not shared) .. but quickly consume the box.
    Its 11gr1 - Linux .. 500G of memory ..
    The "only" parameter we have set is:
    *.memory_target=216522555392  (~200G)
    Processes set to 6000 - but are are only around 1800 at this point.
    We are seeing (via top) client connections with a reserved memory of 25-30g (usually the dbwr type processes) and client connections showing 5-10G in size.
    With clients taking this much memory,  we start to see swapping on the box. In our dev/qa environment the clients are in the MB range .. of course they are not seeing real world traffic so I presume that memory requirements are growing as the app runs.
    Can we set something to reduce the footprint of the client connections?
    Thanks for any tips..
    If we get one db bounce this year .. we want to be right .. cant guess here..
    Daryl
    >Can we set something to reduce the footprint of the client connections?
    no
    Since *NIX maps SGA into every client's process, displayed RAM size is distorted.
    If you simply SUM every reported client size, it will greatly exceed total RAM (in most cases)
    The fact that any swap is used is in itself not a negative indicator.
    run vmstat like below
    all is OK when (si + so) is less than (bi + bo)
    [oracle@localhost dbs]$ vmstat 10 6
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
    r  b   swpd   free   buff     cache     si   so    bi    bo   in   cs us sy id wa st
    0  0     32  82684  20384 557096    0    0   120    32 1008 1057  3  7 88  1  0
    0  0     32  82560  20408 557124    0    0     0    20 1031 1225  2  4 93  0  0
    0  0     32  82560  20432 557116    0    0     0    16 1002 1183  2  6 92  0  0
    0  0     32  79212  20456 557144    0    0     0    74 1007 1185  4 12 84  0  0
    0  0     32  78592  20480 557148    0    0     0    21  999  998  2  5 92  0  0
    0  0     32  78592  20504 557140    0    0     0    20 1002  929  2  7 91  0  0
    [oracle@localhost dbs]$

  • What would make a PC decide that an SBS self-signed root certificate is revoked because it cannot contact the CRL distribution point?

    I'm puzzled. Scenario is SBS 2008 with some web applications published to the internet over https. Users who access these have the SBSCertificate.cer (expiry 2018) installed in the Trusted Root Certificates store for their local PC. This used to work
    fine, and in fact it still works fine for me, from my own non-domain joined PC connecting over the internet. However some users are now getting a "certificate revoked" error and cannot connect to the applications. Using Certificate Manager on these
    client PCs, the properties for this certificate state that it is revoked. It is not in fact revoked, but the CRL is on a local network that is inaccessible from outside (no VPN). Why is this certificate accepted as OK by some external PCs, but not by others,
    what is the setting that determines this?
    Tim

    Hi Tim,
    Based on your description, would you please let me confirm something more?
    1. "However some users are now getting a "certificate revoked" error and cannot connect to the applications."
    Please let me know the complete error message.
    2. Based on your description, I understand that this issue just occurred in some client computers. Other computers still run as normal. Would you please compare some configurations
    of the problematic computer with a good one? Any update, please feel free to let me know.
    Please refer to the following KB and articles and check if can help you.
    IIS returns HTTP "403.13 Client Certificate Revoked"
    error message although certificate is not revoked
    Understanding
    Certificate Revocation Checks
    How Certificate Revocation Works
    Hope this helps.
    Best regards,
    Justin Gu

  • What would make my iTouch have issues with connecting to wifi?

    It has been working fine all over the house, but now I am confined to 5 feet near the router.  This problem happens in multiple areas, where a laptop can connect fine.  I've done both hard and soft resets.  I have not restored the iPod back to factory settings, adn I'm hoping that I do not have to.
    This problem surfaced quite literally overnight.

    No reason this shouldn't work.
    Give each AppleTv a different name under Settings in case this confuses itunes, but if it's not connected to the router in the first place that won't help.
    I would suggest:
    1 - restarting router and powering off/repowering AppleTV
    2 - if still not working replace working AppleTV with non-working one to check if it's a location related issue due to poor wi-fi signal.  If still not working maybe it's faulty.
    AC

  • I need IMEI number, make, model and memory size of phone for insurance claim

    Hi Xanadu,Thank you for the info.What the insurers have asked for though is documentary proof of these details. Ie; something from EE that I can print off and send to them.Any suggestions ?Thanks

    Hi,
    Basically your insurers are trying to fob you off and are implying they don't believe you own the phone as who keeps this information?!?!
    You need to call your insurers and ask them to arrange a "three way call" with EE and you and then they can ask EE all the questions they want. If they again fob you off (which is likely) tell them you want to complain and intend to escalate this issue to FOS  http://www.financial-ombudsman.org.uk/   (this costs them £550 if you complain to the FOS) and then they will have to refer your case to complaints who will likely be the actual insurer/underwriter and then you will get your claims dealt with.
    Hope this helps.

  • HT4623 My iPad is losing its charge very quickly, what would make this happen. My pad is only about 6 months old

    My iPad is losing its charge more quickly than before. Why would that happen? It is less than a year old

    Hello Debby Mc,
    We've an article that provides useful tips and information that can help extend the life of your iPad's battery.
    iPad: Charging the battery
    http://support.apple.com/kb/HT4060
    Cheers,
    Allen

Maybe you are looking for

  • Stepper Motor with Linear Stage (Position Control and Data Acquisition)

    Hey All, So.. I've attached a stepper motor to a linear stage and so far it's working pretty well.  Using a stepper motor driver from Pololu, I've simplified the control of the motor by just using output pulses from the counter output of a PXI-6143.

  • [SOLVED] Attempting to build conky-lua

    Trying to get conky-1.9.0 to work with lua, got all the flags set so it does, but anytime I attempt to run make on it, It constantly gives me this error. Making all in src make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/src' make 

  • Unknown error please see log for details...

    Hi, I have been having major issues with not being able to connect or administer a site, so I deleted the site from the server and uploaded a fresh version as the error suggested the files where corrupt? Now I get the error "Unknown error please see

  • Inserting oracle objects / collection using JDBC

    Hi people, I want to insert objects with collections(nested tables) into oracle database using my java JDBC. I believe there are two ways, one using strong types and the other as weak. I am using the weak types. This is what I have got so far: create

  • B Installing 9 brings up DOS SETUP command window then fails

    Installing 9 starts and then a DOS SETUP command box appears, asking to insert Disk 1 DOS Install floppy in drive a: It then fails to do the 9 install, no matter what I do. It simply fails ! I tried installing in SAFE MODE, but still does the same th