How to calculate cache size?

Hi,
Once I deploy my application, I check the cache viewer and the cache size does not match app size.
Cache size 8085
Size: 8085
After minor update (versioned + jardiff) of one of the the jars.
Cache size: 14543
Size: 8267
Based on the viewer, I upgraded 1 jar file from 8084kb to 8266kb. The real sizes are 7539 and 7718.
What is the logic/math behind this?

Reason why update makes the size almost double although you just sent 200kb jardiff is cause jardiff is just the way you're transfering, anyway the client stores two versions (of almost identical size).
The single file size difference may be because, if you actually browse the cache you'll see files are not stored as-is, plus you get some additional 'index' flie for each jar, never the less cache viewer may be showing on-disk size (that is bigger).
Bye.

Similar Messages

  • How to calculate the size of web forms in hyperion planning?

    Hi Experts,
    I am trying to calculate the size of planning forms in Hyperion smart view., but i am unable to find out the way to calculate.
    Can you pls explain how to calculate the size of web form in Smart view?
    --- Srini.

    Hi Srini,
    First, here is what Oracle says:
    Data Form Size Estimation:
    To get a rough estimate of data form size, open the data form and select File > Save As from the browser. The size of the .HTML file is the portion of the data form that changes based on grid size. The .JS files remain the same size and can be cached, depending on browser settings. Information such as data form definitions, pages, and .gif files are not compressed when data forms are opened and sent to the Web browser.
    I have not been able to find out using their method.
    In any case, you can find out the size of grid by using below
    1. Right click on the form grid and click "View source"
    2. Save the source file as "Example.html"
    3. Right click the saved file and click "Properties"
    4. The Form size whould be same as that of file..
    Let me know if it helps.
    Cheers
    RS

  • How to calculate table size given the structure.

    Today i was asked how to estimate the size of the table given th transactions,.
    table has 90 column all varchar(10)
    How to calculate the size of table which has no data.
    Message was edited by:
    Maran.E

    hi,
    SQL> create table test as select * from all_objects ;
    Table created.
    SQL> create table test1 as select * from all_objects where 1 = 2 ;
    Table created.
    sql>select segment_name,bytes/1024/1024 "size", blocks
    from dba_segments
    where segment_name in ('TEST','TEST1')
    SEGMENT_NAME
          size     BLOCKS
    TEST1
         .0625          8
    TEST
             6        768regards
    Taj

  • How to calculate the size each PSA request or all PSA for the Datasources?

    Hi All,
    Can anybody tell me how to calculate the size of each PSA Request or all PSA's requests for all datasources?
    Regards,
    Rajesh

    Hi ,
    PSA technical name can be found as,
    1)Right click on your Data Target,go to Display dataflow,click on the PSA ,here you can find the technical name.
    2)Goto RSRV tcode>PSA Table>Consistency between PSA Partitions and SAP Administration-->Give your Infosoure name,it gives u PSA technical name also,
    Thanks&Regards,
    Praveena.

  • How to calculate image size

    How do I calculate the size of image dynamically reading from the local server location.

    use FILE_GET_SIZE of CL_GUI_FRONTEND_SERVICES class.

  • How to increase cache size in firefox 6.02 mac os x

    I just want to be able to increase the cache size for larger files. As it is now large files are not caching and the limit of 1024 mb is very limiting.

    See if this reference helps:
    http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/

  • How to calculate the size of DB given the transaction and the INVT

    Hi,
    I need to know the size of a database
    transactions/day-900
    Total Items=12,200
    We are preparing for a proposal .The above is the descriptions given by the client.
    How to estimate the size of database We need to design a hardware configuration
    Can anyone help me
    Maran.

    Any clue regarding the size of the row in the 900 transactions per day?
    Will there be a single table updated per transaction or multiple tables?
    Will the transaction be of type insert mostly?
    If it is going to be insert only, then probably you can estimate the database size based on size of row * 900 transactions per day... You need to consider if there will be other tables affected via triggers.
    Also, the size of the indexes defined on these tables will contribute to the database size.
    No idea as to what do you mean by 12,200 items.
    Message was edited by:
    satishkandi

  • How to calculate the size of the heap memory? its urgent pls

    i had a task in which i need to calculate the size of the heap memory can anybody help me its urgent pls

    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    Specifically:
    max/total/freeMemory()
    http://javaalmanac.com/egs/java.lang/GetHeapSize.html?l=new

  • How to calculate the size of database (a different one)

    Hello Friends,
    I am told to move the data from server to another machine (cloning is one very good option, I agree. But I expect a different answer regarding exports and imports). so How should I go about the task. The destination machine has got unlimited space. So thats not a problem. My questions are :
    1) How should I start the task ( I generally go for studying the structures and their sizes. Is it ok ?)
    2) If I am using Unix machine and there is a limitation that my server will not support file sizes of more than 2 GB, What should I do ?
    3) Shall I have to go for a full database backup or fragment the task ? If I do that , there are many schemas, so it will become tedious. But full backup will exceed OS size limitation. What should be done ?
    4) Is there anyway, I can go through a dump file, to find out, the database objects present inside that and note the related dependencies.
    Please respond.
    Regards,
    Ravi Duvvuri

    1) They are Unix machines. So will the size problem occur(if there is a limitation). How to overcome that?
    If the OS are of the same version you will have any problem. Regarding the storage only you have to have space in disk to store the datafiles, redo logs and controlfiles and nothing else.
    2) I am trying Export/import measure. Though there are other good methods, I just want to explore the full capabilities of Exp/Imp
    r.- Recreate the controlfiles is more effective and fast if the OS are of the same version.
    3) And the oracle version is 9i 2. (If I have to perform this on 8i (both source and destination, will the methods are going to differ ?)).
    R.- The method is the same for 8i/9i/10g.
    How should I go about doing this export/import ?
    r.- To use this method you have to have the original database started.
    To recreate the controlfile without having the datafile that you mentioned you have to get out it from the CREATE CONTROLFILE sentence and that's it.
    For Example: I mean, if your database has 8 datafiles and you have only 7, you have to include only 7 in the CREATE CONTROLFILE sentence.
    Joel Pérez
    http://otn.oracle.com/experts

  • How to calculate the size of a Text Field?

    Is there a way to calculate the number of characters allow in a Text Field? If a uer type over this number of characters a popup window will appear telling the user that he/she has too much texts. Of course I could use the Limit Length, but I have to manually put texts into this text field and count them. If the Limit Lenth number is too small, the texts does not fill the whole text field. If the number is too big then the texts does not get printed.

    There would be no easy way to do this. You'd need to do some pretty fancy calculations, it would all depend on the size of the field, what font is used, the font size, whether it's been bolded, underlined, italicized, etc etc.
    What are you trying to accomplish? Make it so that the user can type in the text field until it fills and then have it stop without scroll bars coming up to allow him to keep typing?
    Chris
    Adobe Enterprise Developer Support

  • How to calculate byte size of a string

    Hi forum;
    Can you tell me how can I calculate byte count of a string.

    Tahir wrote:
    I read somewhere that string 0123456789ABCDEFFEDCBA987654321089ABCDEF01234567 is 192 bit. Where as it is 48 Byte (one char = 1 byte) or 384 Bits. But 192*2=384. So whats this math? Any pointer?It depends what you mean by "byte count", because it's likely to depend on the character encoding you choose, but the definitive answer is probably to use getBytes(). For example:
    String s = "0123456789ABCDEFFEDCBA987654321089ABCDEF01234567";
    System.out.println(s.getBytes("utf8").length);displays 48, but
    System.out.println(s.getBytes("unicode").length);displays 98.
    Not quite sure why the extra 2 bytes, but I'm sure someone else will know.
    Winston

  • How to calculate Page Size that allows for Trim Marks?

    I have made a Word document in 4.75" x 7' Page Size and the print company is demanding they have Trim Marks so they can
    cut the document to the precise size.
    I went to Save As in the Word doc and converted the Word doc to PDF, no problem.
    Then I found how to insert Trim Marks onto the PDF using Adobe Pro 9.
    The Trim Marks are L shaped but with the 90 degree corner bit missing so they look like 2 straight lines that would tell the
    print company where the sides and the top and the bottom are to be cut if the 2 lines were extended to the intersection of the L.
    Something like this for Top Left   _I   and this for the Top Right    I_    and the mirror of those two for the bottom Trim Marks -
    However when I use Acrobat Pro 9 to insert Trim Marks on a 4.75" x 7' Page Size, the Trim Marks themselves encroach on
    the print area by about 9 mm or just under 0.375" because they are marking the corner of the page but it reduces the Page Size
    by about 9 mm or just under 0.375" if I leave them there, ie, by the length of the Trim Marks themselves.
    Is there a way to position Trim Marks where I want them?
    If not then I presume I need to make my original Page Size bigger by the length of the Trim Marks all round?
    If I need to up my original Page Size to accommodate the Trim Marks I need to know the exact length of the Trim Marks don't I?
    Other wise if I get the length of the Trim Marks wrong they could either encroach slightly on the printed area or denote the
    wrong Page Size.
    Or perhaps I've got it wrong and it's not the 90 degree intersection that marks the Page Size but rather it is the other ends of the
    Trim Marks where the Trim Marks touch the border of the 4.75" x 7' Page Size that denotes the Trim Size?
    But that would mean the Trim Marks do not show up on the Camera Ready page and are not seen after printing but somehow I
    don't think that's the case.
    The attachment is a screen shot showing the Trim Marks on my 4.75" x 7' Page Size PDF.
    Help would be very much appreciated.

    Go to the Crop Pages command first and choose a page size bigger than the one you want. In Acrobat 8 it is at the bottom of the dialog box where it says change page sizes. Make sure to select for all the pages you want to have crops for. This will make the pages larger, but still no trim marks yet.
    Next to to Advanced, Print Production, Add Printer Marks, choose trim marks. Make sure you have selected all the pages you wanted the trim marks to appear on. The trim marks will appear on your pages.
    Kinda reverse of what you'd expect, but it will do it.
    By the way this needs Acrobat Pro, not Reader.
    Tom

  • How to calculate the size and number of nodes in the btree?

    I need to determine the size of the btree nodes in the log file and the how many internal and leaf nodes in the btree. For example if I have 2.88M records approximately how much disk space is used up by the JE's internal structures? This info will help me determine the best size of the data records.

    Chad,
    Keys are stored in order in the btree. They are ordered by the custom comparator if one is used, otherwise by the default (unsigned byte) comparator.
    Key prefixing (when it is available -- remember that we're talking about a future feature here) reduces memory and disk space for the adjacent keys in a Btree node when the initial bytes of those keys are in common.
    If your keys that are adjacent (according to your custom comparator) don't have common bytes at the front, then key prefixing won't have any advantage.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to calculate the size of JTextPane in advance?

    I have a dialog that contains JTextPane. The text that is to be displayed in the JTextPane is obtained at run-time and is passed to the dialog constructor.
    Providing that I know how width the JTextPane should be, how can I calculate the height that will be sufficient to hold the text? I want to make all the text visible; I do not want to use JScrollPane.
    gracjan

    Hi!
            int width=somewidth;
            pane.setSize(width,Integer.MAX_VALUE);
            int height=pane.getPreferredSize().height;works fine for me when pane is JEditorPane.
    You may look at reply 5 and 6 of this:
    http://forum.java.sun.com/thread.jspa?threadID=5114687
    Annette

  • How to calculate the row size

    Hi,
    I am having a table of 4 column. First column is varchar2(10), Second column is Number(5), Third column is char(10) and Fourth column is Number(12,2).
    Now how to calculate the size of each row. I want to know how much space it will take for each row.
    Thanx & Regards,
    Swarup

    For a complete discussion of storage requirements for different datatypes see the Oracle 8i Concepts manual.
    All Oracle documentation is available on-line via the 'Documentation' link on the OTN home page.
    Your Col2 NUMBER(5) will take 4 bytes if it holds a 5 digit positive or negative number.
    Your Col4 NUMBER(12,2) will take 7 bytes if it holds a number with 12 digits that is positive and will take 8 bytes if it holds a number with 12 digits that is negative.
    The following is from the Concepts manual Chapter 12 (Copyright by Oracle)
    Built-In Datatypes 12-9
    Internal Numeric Format
    Oracle stores numeric data in variable-length format. Each value is stored in
    scientific notation, with one byte used to store the exponent and up to 20 bytes to
    store the mantissa. The resulting value is limited to 38 digits of precision. Oracle
    does not store leading and trailing zeros. For example, the number 412 is stored in a
    format similar to 4.12 x 10 2 , with one byte used to store the exponent (2) and two
    bytes used to store the three significant digits of the mantissa (4, 1, 2). Negative
    numbers include the sign in their length.
    Taking this into account, the column size in bytes for a particular numeric data
    value NUMBER ( p), where p is the precision of a given value, can be calculated
    using the following formula:
    ROUND((length( p)+ s)/2))+1
    where s equals zero if the number is positive and s equals 1 if the number is
    negative.
    Zero and positive and negative infinity (only generated on import from Version 5
    Oracle databases) are stored using unique representations. Zero and negative
    infinity each require one byte; positive infinity requires two bytes.
    null

Maybe you are looking for

  • Transfering music from old computer to a new one

    Hi, I was wondering if someone can help me, i recently bought a new laptop, but my old one has my itunes on it. i have tried a few times to add it to my new itunes, but everytime i do, the music is in, but then if i switch my comp off and then go to

  • Loop in file to IDoc scenario PI 7.11 (Support Package 04)

    In our scenario we use FileSenderCommunicationChannel to get files from FTP-Server. After processing the file should be saved in archive directory on our PI-Server (UNIX-System). Physically the archive directory is not in our PI-Server, it is a mappe

  • Can I filter by value which is not displayed in grid columns?

    In excel it is possible to filter by value of measure which is not displayed in the report. How can I possibly do this in Performance Point Grid? (in filter by value there I only see the measures in columns). Please advise Namnami

  • ProxyPass ProxyPassReverse Help Needed

    I need some help working with the native version of Apache2 that comes with Snow Leopard Server. I'm a geek and host my own mail server for myself and family members. I have been running Microsoft Exchange, but, wanted to move to an all-Mac solution.

  • AppleTV stops during playback on owned movies

    Been happening for months through different updates. Essentially what happens is: - I turn on my mac - I then turn on my TV & AppleTV - I start watching a video - Somewhere in the playback the video stops and the message "Please turn on homesharing t