Heap Measurement: jstat (and what exactly it reports)

Hello,
while doing some heap measurements (on a 1.5 JVM) I found some contradictory values for heap size by different means. Using a JVMTI approach ( iterateOverReachableObjects() and iterateOverHeap() ) has given me some values which I could bring in harmony which values given by -XX:PrintClassHistogram. As those two approaches give identival values I have found 3 other ways which report another 3 identical values, which are significantly smaller than the first two.
Those (last 3) approaches are using:
- jstat -gc
- Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory() (inside Java)
- ManagementFactory.getMemoryMXBean().getMemoryUsage().getUsed() (inside Java)
As those values do not correspond to anything I could evaluate using JVMTI I would like to have explained how those techniques work and what exactly they report.
jstat is one of the three. I guess it helps if its measurements are explained to solve my problem.
Robert

From my experience, manual reports, for example, are created in a tool like Excel.
A business analyst will extract data from a source system and create a report in Excel for other business users. This often happens for Monthly and Quarterly reporting cycles.
Many businesses are choosing Oracle Hyperion to automate this process.
Using a system of servers and software Oracle Hyperion can extract data and create reports automatically. This helps to improve efficient as well as data quality and allows everyone to analyze the same values the same way across the business.
Does this help?
Brian Chow

Similar Messages

  • Should I enable TLS on my iCloud email and what exactly does it do?

    Should I enable TLS on my icloud email account and what exactly does it do?  I searched googled and have no clue what they are saying.  Please keep it simple.  Thank you very much!

    Ignore what it does do and concentrate on the fact that it does not do "add storage onto your iphone".

  • How safe is iCloud and what exactly does it do?

    I was thinking about adding storage onto my iPhone by using iCloud as my iPhone is only 8GB.
    However, what exactly is iCloud and how safe is it to use? Does Apple save all your info and details for there personal use?
    What does it do? Just a safe storage thing or what, I have no idea!?

    Ignore what it does do and concentrate on the fact that it does not do "add storage onto your iphone".

  • How often and what exactly Essentials integration w/ O365 sync?

    Hi
    As title says, how often does the Essentials Integration sync and what info does it sync?
    I added a user to security group (User Group) which is also synced to Microsoft online security group. After 5 minutes, this user was not propagated to online security group.
    Also, if I change some info about the user in AD, this info don't seem to sync to O365.

    Hi IKFI,
    Would you please let me know whether the synchronized operation had ran successfully? Please refer to the following
    article and check if can help you. If any update, please feel free to let me know.
    Reducing
    the Office 365 DirSync Schedule
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    When integrate your Windows Server Essentials server with Microsoft Office 365, you can manage your Office
    365 services and online accounts along with your on-premises resources from the Windows Server Essentials Dashboard.
    Please also refer to following articles.
    Manage Office 365 in Windows Server Essentials
    Manage Online Accounts for Windows Server
    Essentials Users
    Hope this helps.
    Best regards,
    Justin Gu

  • It's been two years since Windows 7 64 bit computers came out. At what point is Firefox thinking of providing a browser that is compatible with this. I haven't used Firefox for 2 years as a results. And what exactly is Waterfox?

    If you do a search on the web, you will discover that I am far from the only one who finds that she cannot use Firefox because it is incompatible with Windows 7 64 bit. I'm pretty sure there must be hundreds of thousands of users out there that can not use Firefox for the same reason. At what point are you thinking of updating your browser?
    Also are you connected to Waterfox and is it safe?

    In device manager tick Show hidden devices, under view on the toolbar.
    If DM cannot see it you cannot install a driver, not sure why that hardware will not get detected.

  • Do I need an interface and what exactly is a preamp?

    I do a lot of recording with GB. I own and have used the Presonus Firepod and the Tascam US-122 for past projects. But I am wondering if there are any other options as far as getting a strong audio signal into my computer.
    Lately I have been just plugging a Shure SM58 straight into (with a 1/4 inch then an 1/8 inch adapter) the audio/input jack on my MBP. This is not working out bad but I cannot get a strong signal without "hiss."
    Now, I could just go through the Firepod or US-122 but lately I have been hearing people talk about preamp. I know that both of my interfaces have preamps but I am sure that they are not very good. So what I am wondering is can I get a dedicated preamp to go between the mic and the computer skipping the interface? Or do I need the interface too? Ideally if I can use a preamp I would like it to be quite small.
    Any suggestions?
    TIA!
    Message was edited by: [email protected]

    Depending on if you're purpose is for commercial release or not, you don't need a preamp. I'll tell you this though even professionals who work in studios with recording consoles costing 6 figures use external preamps to plugin into their already excellent preamps. Why do they do this? For a stronger signal to noise ratio to get the loudest sound into their preferred choice of media without distortion. There are cheap options like the ART tube pre which is better than not having one but then you have a lug around another piece of equipment. The only decent one I've seen out there that is designed for portability and provides professional sound is the Apogee mini-me which is an interface with excellent preamps and AD/DA conversion.

  • And what exactly is problem 1008?

    I am having very similar issues as the many (apparently VERY many) folks frustrated by error 5002. I am having trouble with pre-orders, getting error message 1008.
    I have the latest version of iTunes. Everything on the computer is fully updated.
    Not to get too "511" with my music preferences, but by way of sharing my problem's "context":
    I was able to pre-order a George Michael album - that had no advance single available - with no problem. However, while trying to pre-order Mariah Carey and Madonna's upcoming releases - both of which have free, advance singles that purchasers receive at the time of pre-order - I get error message 1008. Coincidence? Conspiracy? I have no idea. Any help you could offer would be greatly appreciated.

    Same thing here. Unable to download full albums.
    The error message I get is:
    "An unknown error occurred (1008). There was an error in the iTunes store. Please try again later."
    Well, I have been trying for 3 days, without any luck.
    If I use song credits I can download individual songs. Trying to complete an album afterwards fails. Gathering from the above comments, the problem seems to go away once all credits have been used. However, I am not willing to try that out, just to see if it works. I'd like to spend my credits a little more discriminately.
    Where are the pros? Do they have any answers. Methinks, this is not an isolated problem.

  • Third Party Applications? What exactly are they?

    Right,
    I've read alot about the Blue Screen that appears when Upgrading to OSX Leopard. I am intending on upgrading tomorrow when my external hard drive arrives so I can Clone my 10.4.11 onto the external hard drive and upgrade the cloned version first but would like to know if I can check in advance for any of these' Third party App's'? and what exactly are they?
    Regards,

    A third party application is anything not made by Apple. It can also include products that Apple purchased fairly recently (some of those "Pro" apps) that weren't coded to Apple's specfications and haven't been well tested. Apple doesn't and shouldn't test their software with third party applications. It isn't their job to test other people's software. They probably make exceptions for things like Office and Photoshop, but that is a short list.
    Most third party applications will be fine. The ones you have to worry about are those that ask for your password when you install them. They can then install any sort of incompatible software.
    After you clone your hard drive, verify that you can boot from the external drive and all your data is there. If so, don't upgrade the external drive. Boot using the 10.5 DVD and immediately run Disk Utility and re-partition your internal hard drive to wipe it out completely. Then install Leopard. Do not use Migration Assistant. Re-install all your 3rd party applications that are 10.5 compatible. Be very careful about copying over from backup anything in a Library/Preferences folder. You can copy any preference file from a third party application back over - those are safe. Anything from Apple may have been upgraded. Only copy over the Apple files that you absolutely have to, such as your Mail folder and Address book file, for example.
    It sounds like a lot of work but it will only take a couple of hours.

  • This is for Exchange 2007 but can't find a place to post it. It may apply here I don't know. What exactly happens when you suspend LCR?

    OK. I searched out here and found things close to what I need: how to suspend and restore LCR but I need another answer. I have gotten a new backup solution (Unitrends) and the Microsoft exchange write appears twice. I'm guessing one is for my first storage
    group and one is for LCR. Anyway it appears the software is trying to use the replication writer which is causing my backups to fail. Here is my question: what EXACTLY happens when I suspend the LCR (Suspend Storage Group Copy)? Does this affect regular exchange/email
    transport and receiving at all? Basically if I disable it will mail continue to flow as normal with no adverse affects? And what EXACTLY happens when I disable LCR. What if I decide I don't need it. Will disabling it affect normal email operations? Basically
    will either of these options in ANY way interfere with normal mail flow? Thanks.

    Hi,
    Based on my knowledge, suspending LCR doesn't affect the mail flow. If there is no need for LCR, you can disable LCR, and then please manually delete the LCR storage group and databaase fles.
    For more information about LCR, please refer to
    Local Continuous Replication.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • What exactly a Web Application is?

    Can we treet each use case as a seperate WebApplication in a small project which contains only 3-usecases.
    And what exactly a web application is?,What are configuration files?
    thanks & regards,
    Santhosh

    Hi Santhosh,
    Perhaps you could research your question using the J2EE tutorial located at http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    Chapter 3 has a web app introduction and there are other chapters concerning specific web-app technologies.

  • Measuring RSSI and SNR in controller environment

    Folks,
    Just converted our environment from autonomous to controller based. We are running 5508s, NCS, and 3502e APs. In the autonomous world I am used to being able to perform a "show dot11 associations all" CLI command and get my RSSI and SNR realtime by hitting the up arrow/return and have constant feedback on clients as we wander around testing coverage. Now, in the controller environment I can monitor the RSSI and SNR from my NCS, however it doesn't seem to update all that often.
    1). Is there a CLI option in the 3502e AP to perform something similar to the "show dot11 associations all" command with a similar output? If so, how?
    2). Is there an option on the controllers/NCS to increase the "refresh" rate of the RSSI and SNR?  If so, how?
    Any feedback would be appreciated....
    Thanks,
    Don            

    Thanks for the reply Stephan. I have been doing that, but as we test, I refresh over and over and the values seem to only change about once a minute at best. Is there a polling interval that takes place between the controller and the AP that can be changed to get more "up to date" rssi and snr values?
    Also, is there a programmable polling interval between the WLC and the Prime NCS that can be modified? There appears to be at least a 2 minute "lag" between what the WLC says and what the NCS reports.
    Finally, is there not a CLI command in the AP itself where this information can be viewed?
    Thanks again,
    Don

  • What exactly are unscaledWidth and unscaledHeight in mobile item renderers?

    Hello,
    What exactly are unscaledWidth and unscaledHeight that get passed to the measure() method for a mobile item renderer?
    I am guessing renderers start at  "default" width and height (so unscaled) which get scaled based on DPI. Is that it?
    Thank you.

    measure() doesn't take any parameters so I assume you mean the layoutContents() and/or drawBackground() methods.
    If you look at the code in LabelItemRenderer (and MobileSkin) for updateDisplayList() you'll see that it just delegates the work to the drawBackground() and layoutContents() methods:
        override protected function updateDisplayList(unscaledWidth:Number,
                                                      unscaledHeight:Number):void
            // clear the graphics before calling super.updateDisplayList()
            graphics.clear();
            super.updateDisplayList(unscaledWidth, unscaledHeight);
            drawBackground(unscaledWidth, unscaledHeight);
            layoutContents(unscaledWidth, unscaledHeight);
    This was done to make it a little bit easier for people to subclass LabelItemRenderer/IconItemRenderer by breaking the positioning logic apart from drawing the background visuals.  Check out the documentation for UIComponent.updateDisplayList and look around on Google for more information on how updateDisplayList fits into the Flex component life cycle.

  • How to write and what is the G/L Distribution Report (AP)?

    Hi all,
    I am anticipating  to write some abap reports..Here is one of them..Anyone can help  me with writing a Report , how to write 'G/L Distribution Report (AP) -
    But since I am new to Abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea(The Business use, and business idea of doing such report?), how it can be acheived...what kind of report should be used , techniques, tables etc..?.:)
    Appreciate your help!
    Regards,
    Boby

    Hi   ,
    i am get your  exact   report requirements  , nay   , i will give you the   brief expalin.
    AP -> Accoutns  Payable   . so it deals with  in Finnance to  Vendor  .   it means   you are   maintain the  transcations  of the payment s to the vendor .  so thae  table's are .
    vendor master tables  : 
    LFA1 -> Vendor Master (General Section),
    ADRC -> Addresses (Business Address Services)
    LFB1-> Vendor Master (Company Code) ....etc .
    for finance   data  
    BKPF -> Accounting Document Header
    BSEG->Accounting Document Segment
    BSIS->Accounting: Secondary Index for G/L Accounts
    PAYR->Payment Medium File
    WITH_ITEM->Witholding tax info per W/tax type and FI line item ,
    REGUP-> Processed items from payment program ,
    REGUH-> Settlement data from payment program  ,....etc
    with  abouve  given  table you can  do the report  for  vendor   .
    Start  selecting data from the bseg   , because  it will have  all the  data ...... then if  it is  payement    , then  go to the  regup   for  processed  item  ..... it means  payment happpend data   .........  then go to reguh   for  the   payment method  (check, draft ,etc)  then to the payr for check data.etc  .... if you want  vedor   address  go to   lfa1 there  ADRNR  is there primary key to adrc table  for   detail addresss..
    if it  is use full  , reward  points ...........
    Girish

  • What is detailed report and aggregated report

    Hi gurus,
    We generally tell cube gives the aggregated report and ODS gives detail report could any body tell me what exactly meaning behind there
    Please give me a good example for make me good under stand..
    Thanks in the advance
    Kiran
    Edited by: kiran kumar on Jan 16, 2008 10:34 AM
    Edited by: kiran kumar on Jan 16, 2008 10:35 AM

    Hi,
    aggreagted and detaliled are ways to mention how data is stored.
    when you stay data is summarized..it means...you have each and every record in source present in the same format as in BW.
    This is possible only if the data stored in the R/3 table is stord in BW in another table with the same keys or make sure the keys are in a way that you can identify each and evry record.
    This canbe dome through DSO as it has keys and you can make it load all the data in R/3 in exactly the same way.
    In case of cube you dont have any cubes and you have no control on aggregation of values also...so if 10 chars are same then key figues will add up.Generally cubes are specific with less number chars then DSO.
    if you want you can put lot of char and do reporting onto it.
    So if want each and very detail go for something whic stores data at the detailed level that is DSO.
    for aggregated so for cube since it aggrgated the data if the records repeat.
    I hope thats clear
    Thanks
    Ajeet

  • 1.how can I interpret meaning of TARGET  STATE   in output of command crsctl stat res -t  2. what exactly is nodeapps and why it need to be stopped before any maintenanace activity.

    I have two question requesting from the Gurus.
    1.how can I interpret meaning of TARGET  STATE   in output of command crsctl stat res -t  2. what exactly is nodeapps and why it need to be stopped before any maintenance activity. 

    I'd tried deleting my user preferences before, and it didn't seem to help. However, I tried again, and also removed the couple of actions I'd had in ~/Library/Automator. Success! Just for good measure, I tried putting the actions back and restoring the old preferences file, and everything still worked. Huh. But that's the nature of these things, I guess. At least it works now, thanks!

Maybe you are looking for

  • Name Case issue in Link Palette

    I have imported couple of Links in InDesign CS6. All links are imported well. The issue is happened in case sensitive of links as described below. 1. I have imported the links with the naming convention as shown below.      001_FlowerX1.jpg      002_

  • Delete command is not deleting all rows

    Hi All, Database version 10.2.0.2 Delete command is not deleting all rows and deleting some subset of rows which it should delete, ever time I delete and do the roll back, next time it will delete some random rows, count is different everytime with i

  • Kernel panic caused by Nvidia module?

    Since kernel 3.6 I have often kernel panics, today I managed watch made this problem, I run on x server 6x glxgears and switch back to console, I got this: https://dl.dropboxusercontent.com/u/166 … 133329.jpg I have tested my hardware with memtest86,

  • Visual Administrator Read Only Access

    Hi All,    I need to give Visual Admin read only access to a developer.    1. Is it possible ?    2. If so what is the role to be given and where to configure this role ? Please help Thanks Sourav

  • My desktop and screensaver utility has disapeared from preferences!!!

    my desktop and screensaver utility has disapeared from preferences!!! How do I get it back? Message was edited by: Brandon Garland