TimesTen Memory Size

Hi
I have some question.
The following is information on the server using.
1. Physical memory size : 10GB
2. Used memory capacity
OS : 1GB
Application : 2GB
Currently, 7GB of available capacity, Memory Size Up to TimesTen How far would have to allocate?
What is the recommended value? What is the document(doc number) with recommended value?
Thank you very much.
GooGyum

It's not possible to answer this question without a great deal more information. it depends on many factors, the most critical one being 'how much data do you need to store in TiemsTen'? Sicne TimesTen is an in-memory database, all data to be managed by TimesTen must fit into memory at all times. iIf you want to store 4 GB of data in TimesTen then you will typically need to allocate at least 5 GB of memory to TimesTen whereas if you want to store 500 MB of data in TimesTen then you would of course need much less memory. if you are using TimesTen to cache data from Oracle DB then the question is how much data do you need to cache (and what is that data) in order to achieve a good performance improvement, how does that data need to be managed (dyanicm versus static caching, aging, etc.).
So, really you need to approach this from the other direction. Understand what TimesTen does and how it works, see how (if) this fits with what you are trying to achieve. If it does, look at what data you want to hold in memory and use the capacity planning tools to calculate how much memory will be needed. Then choose a machine that has the right hardware resources (CPU, memory and disk) to handle that.
Chris

Similar Messages

  • How to Increase the memory size of a File in the Application Server

    Hello Abaper's
    I have generated a XML file for the data of  internal table (with 10 Records). When i download , i can see the XML file for the Entire 10 Records.
    But , while transferring the XML file to Applicationserver , it's  transferring only upto max 4 Records.I     assume that the memory is insufficient to  allocate 10  Records. Can we Increase the Memory size of the File on Application server. OR,  is there any error in My Source Code.
    Code i used to Transfer the XML File to Application server.
    OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE.
    IF sy-subrc EQ 0.
       LOOP AT it_xmltab INTO wa_xmltab.
           TRANSFER wa_xmltab TO FNAME.
       ENDLOOP.
    ELSE.
      MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
    ENDIF.
    CLOSE DATASET FNAME.
    Regards
    Jv

    Hi,
    DATA : filename TYPE rlgrap-filename.
    DATA : doc_name TYPE char30.
    DATA : bin_size TYPE i.
    SELECT matnr matkl meins
           FROM mara INTO TABLE it_mara
           UP TO 10 ROWS.
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
      EXPORTING
        i_filename           = filename
        i_xml_doc_name       = doc_name
      IMPORTING
        pe_bin_filesize      = bin_size
      TABLES
        i_tab_sap_data       = it_mara         "  contains  10 Records
      CHANGING
        i_tab_converted_data = it_xmltab.
    placing XML File in Appl. Server
    DATA : FNAME(60) VALUE 'xyz_File'.
    DATA : num TYPE i.
    DATA : xmldata(256) TYPE x.
      For Writing The data in Application Server
    OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE. " ENCODING DEFAULT.
    IF sy-subrc EQ 0.
      LOOP AT it_xmltab INTO wa_xmltab.
        TRANSFER wa_xmltab TO FNAME.
      ENDLOOP.
    ELSE.
      MESSAGE e004(zmsg5) WITH 'File FNAME not opened'.
    ENDIF.
    CLOSE DATASET FNAME.
      For Reading The data in Application Server
    OPEN DATASET FNAME FOR INPUT IN BINARY MODE. " ENCODING DEFAULT.
    DO.
      IF sy-subrc EQ 0.
        READ DATASET fname INTO xmldata.
        WRITE :/ xmldata.
        Clear xmldata.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    CLOSE DATASET FNAME.
    at runtime i can see   
    it_mara  --> contain 10 records
    it_xmltab --> contain 7 lines (Each line size is 255 char). This table have XML format data,  (unknow format , with all numeric 
                        digits)
    it_xmltab is trasferred to application server , but the xml format is generated upto 4 records, and for the remaining records
    the XML format is not generated.
    the XML data in application server file is
    <?xml version="1.0"?><TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY1</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">PC
    </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">0-BUY2</MATNR><MATKL Datatype="C" Length="18">012</MATKL><MEINS Datatype="C" Length="6">
    PC </MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000001</MATNR><MEINS Datatype="C" Length="6">EA</MEINS>
    </TY_MARA><TY_MARA><MATNR Datatype="C" Length="36">000000000000000002</MATNR
    Regards
    JV

  • Jdbc sender channel memory size issue

    Hi Experts,
    We are facing the below error in connect to jdbc sender channel from XI . Could anyone of you suggest me the right action to be taken in this regard.
    Database-level error reported by JDBC driver while executing statement 'select * from*********where posted = '0''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:Java heap space. Result set size:614,143,127. JVM total memory size:1,031,798,784.'. For details, contact your database server vendor.
    Appreciate your quick help.
    Thanks & Regards,
    Ranganath.

    Regulate the number of records returned by Select statement for permanent fix.
    Few more things....
    a)If you want to select only some fields, then dont use Select * from table.  Rather specify select a,b,c from tablename
    b) specify some flag in the table so that read some records each time and in the update statement update the flag for those records already read. So that you will not reread the same records in the next message.
    Hope you understand.
    c) Increasing java heap size is temporary fix.

  • Is it possible to config memory size for a process?

    Dear experts,
    I would like to control the memory size assigned for a process on Solaris 9. Can i config memory size assigned for process??
    Many thanks,
    Shun

    You can use ulimit/limit to assign a bound on the amount of space that a process and its children can allocate.
    I'm not sure if that's what you're asking though.
    Darren

  • How to set memory size for JRE

    hi all,
    Is there anyone know how to set the JRE memory size?
    My run my applet application onto browser and I want to increase to size of memory. Such as -ms 128m -mx256m.
    please help.
    regards,
    elvis

    The suggestion could be convert applet into WebStart application which is quite similar to applet (at least
    it is distributed similar way, resides within sandbox etc) but allows to specify memory size as you requested.

  • How to get free memory size of a card with javax.smartcardio

    Hi,
    How can I find how much memory of a card is free with javax.smartcardio?
    Please your advice.
    Thank in advance.

    gizmo wrote:
    I wanted to read the free memory size with a card reader and javax.smartcardio.
    Is it possible to send a APDU Command to select the root 3F00 and read the properties?There is no built-in smartcardio funationality to do this. What you can do is send an APDU and get the memory by calling the code mentioned already.

  • Maximum Memory Size & Memory Size

    Will a server's memory automatically increase from Memory Size to Maximum Memory Size as the VM requires it? Or is this only valid for adding memory to the Memory Size value manually?

    keithrust wrote:
    Will a server's memory automatically increase from Memory Size to Maximum Memory Size as the VM requires it? Or is this only valid for adding memory to the Memory Size value manually?No, there is no automatic increase in memory. The max memory size just specifies the maximum amount to which you can manually adjust the memory of a running VM. I've now taken to setting the max memory size to the total available memory on my Oracle VM Servers, with memory size set to something reasonable. This way, I can adjust right up to the limit of physical memory without rebooting.

  • 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

  • Software distribution error with LMS 3.2 regarding flash/memory size

    Hello,
    I'm accustomed to LMS raising warnings about memory size not being enough when in fact there is enough space (eg : there is 256mb, IOS requires 256mb, but LMS calculates 255.234mb, and says there is not enough memory). I've encoutered that situation many times with LMS 3.1 and just learned to ignore it.
    But since I've upgraded to LMS 3.2, we are now getting _errors_ which are preventing us from deploying the IOS, even though there is still enough memory and flash space. I've read in another thread about bug CSCsu49349 but this one should be fixed in LMS 3.2, so I am at lost.
    I always download my IOSes from Cisco.com using LMS so that the proper fields are populated.
    Here is one sample : I was trying to deploy an IOS to a 2821 router. The IOS weighs 29Mb in reality and I have around 31Mb of free flash, and the whole flash is 64Mb, but I get a catastrophic error. Also note the contradictory warning about the memory size :
    Warning - SWIM1065: Minimum RAM requirement of the selected image: 256 MB  .
    RAM available on the device ( 256 MB) May not be enough to activate the  selected image.
    Increase the RAM size for the device, select a different  image for upgrading, or
    specify the RAM size for the image by editing the  attributes of the image stored in the software repository.
    Warning - SWIM1070: Feature subset of the Active image could not be  determined.
    Catastrophic - SWIM1200:Selected Flash partition  requires minimum (64 MB) to upgrade selected software/image.
    Select a  different Flash partition for upgrading the image.
    Do I need to modify the flash requirement on the image to get around this, or is there a patch available for LMS 3.2 ?
    Thanks for the advice,
    Alex.

    Hello,
    After running another inventory to make sure, I get the same error. Here are the steps of the distribution process (we can see I have enough room for the IOS, barely, but still enough) :
    Afterwards I get the failed message :
    And the same error message :
    Thanks for the help!
    Alex.

  • How to calculate OS memory size in java?

    I want to calculate free memory size , when I tried by Runtime class
    like this Runtime.getRuntime().freeMemory() it gives JVS free memory size
    But I want OS free memory size
    If anybody know then plz reply me ASAP

    Since the question was asked the last time (yesterday afternoon), I don't think Java has changed much, so the answer is still: you can't do it with Java.

  • Hi,URGENT--Memory size of binary Increasing due to multithreading in Pro*C

    I got stuck in Multhithreading in PRO*C.
    Memory size of my binary keeps on increasing.
    Flow is like this.
    My main thread spawns multiple threads of two types of threads. Both types of threads connect to different dbs.
    In other words, i need to have multiple connections with to different db's i.e. configure multiple threads for same.
    For this i take sql context variable in each thread and pass it to connect_to_db func. for connection. Then that thread use corresponding sql context variable for pl/sql function( CHANGE_INPUT) call.
    This keeps of memory size of my binary inceasing.
    In above code T_ABILLITY_INPUT is of object type whose ott converted header and out type file is already included.
    CHANGE_INPUT is pls/sql function
    Can any help me out in using multithreading in pro*c.
    It's very-very URGENT, This is creating problem in live site.
    Thaks in Advance
    Code for process and connect_to_db function is same for both types of threads different is in object types to get process
    sample code of connect_to_db
    int connect_to_db(char username, char password, char dbname,sql_context ctx,char *ErrorMessage)
    int ret;
    char ConnString[50] = {0,};
    sprintf(ConnString, "%s@%s", username, dbname);
    EXEC SQL WHENEVER SQLERROR DO sql_error("ORACLE error--", ErrorMessage);
    EXEC SQL ENABLE THREADS;
    EXEC SQL CONTEXT ALLOCATE :*ctx;
    EXEC SQL CONTEXT USE :*ctx;
    EXEC SQL CONNECT :ConnString IDENTIFIED BY :password;
    if(sqlca.sqlcode < 0)
    return -1;
    return 0;
    sample code for pl/sql function call
    int process(double num,char Flag,char dbName,char dbExtApp,char dbExtUname,char *
    dbExtRef,sql_context ctx, char *err)
    T_ABILLITY_INPUT *typAbilityInputObj;
    T_ABILLITY_INPUT_ind *typAbilityInputObj_ind;
    T_ABILLITY_INPUT *typAbilityInputObj2;
    T_ABILLITY_INPUT_ind *typAbilityInputObj2_ind;
    //declaration of some host variables
    int iretVal=0;
    char extUser[255];
    char extApp[255];
    char extRef[30];
    char us[ABREF_LENGTH];
    char app[ABREF_LENGTH];
    char ref[ABREF_LENGTH];
    memset(extUser,'\0',sizeof(extUser));
    memset(extApp,'\0',sizeof(extApp));
    memset(extRef,'\0',sizeof(extRef));
    memset(us,'\0',ABREF_LENGTH);
    memset(app,'\0',ABREF_LENGTH);
    memset(ref,'\0',ABREF_LENGTH);
    EXEC SQL CONTEXT USE :ctx;
    EXEC SQL OBJECT CREATE :typAbilityInputObj:typAbilityInputObj_ind;
    EXEC SQL OBJECT CREATE :typAbilityInputObj2:typAbilityInputObj2_ind;
    EXEC SQL OBJECT SET EXTERNAL_USER,EXTERNAL_APPLICATION,EXTERNAL_REFERENCE OF : typAbili
    tyInputObj TO :extUser, :extApp, :extRef;
    EXEC SQL CALL CHANGE_INPUT(:typAbilityInputObj,:typAbilityInputObj2) into iretVal;
    EXEC SQL OBJECT GET EXTERNAL_USER,EXTERNAL_APPLICATION,EXTERNAL_REFERENCE FROM :typAbil
    ityInputObj2 INTO :us, :app, :ref;
    EXEC SQL OBJECT UPDATE :typAbilityInputObj;
    EXEC SQL OBJECT UPDATE :typAbilityInputObj2;
    EXEC SQL OBJECT RELEASE :typAbilityInputObj;
    EXEC SQL OBJECT RELEASE :typAbilityInputObj2;
    EXEC SQL OBJECT DELETE :typAbilityInputObj;
    EXEC SQL OBJECT DELETE :typAbilityInputObj2;
    EXEC SQL COMMIT;
    EXEC SQL OBJECT CACHE FREE ALL;
    }

    This must be my last last thing.  AHT was on an iMac I bought in 2009.  It was included on my "disk 2" along with several other applications.  When I wiped and installed the full Lion, AHT was gone.  Same is true for the full Mountain Lion installation media.  It does not have AHT.  I'm not at all sure how to get it back from Apple.
    I was able to find it on my SL disc 2 and extract it again from that.  Disc 2 won't install on Mountain Lion (the packages are too out of date) but the AHT pkg does.
    Since you have it, consider packing it up and keeping it safe.  Maybe someone who knows AHT better than I can elaborate on AHT.  From what I've seen, you get it when your mac ships but if you ever wipe and reinstall the OS, you lose it.

  • High resident memory size when creating in-memory db

    Capsule summary: an in-memory db created with a cache size of 8 Gb reports a resident size of 2 Gb without any data stored in it.
    Details:
    We have a need for creating an entirely "in-memory" database, i.e. without a backing file store.The application in question will be writing to and reading from the db frequently, and there is no need to incur the penalty of writing out to disk.
    I read the white paper "Writing In-Memory Applications" published by Oracle, and modified our db creation code accordingly. More or less all I did was to allow "open" to be called with a NULL instead of file name.
    This seems to work just fine, in that no file is created, and both writing and querying seem to work correctly. However, the resident memory size, even without anything written to the database, seems inordinately high. For example, if I set the cache size to be 8 Gb (the size of physical memory on my Linux FC11 machine), the resident size reported by "top" is 2.0 Gb:
    Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.7%us, 0.3%sy, 0.0%ni, 98.3%id, 0.6%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 8114752k total, 8054072k used, 60680k free, 45344k buffers
    Swap: 11717624k total, 204896k used, 11512728k free, 3977788k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    12827 rao 20 0 2243m 2.0g 9.9m S 0.0 26.0 0:01.53 pypix
    Running strace on the process shows that there are three calls to mmap as soon as "open" is called, one of them being responsible for a majority of the allocation.
    Is this expected behavior? The documentation explicitly states the following:
    "... Note that the size you specify for your cache is actually a maximum size; DB will only use memory as required so if you specify a cache size of 1 GB but your data set is only ever 10 MB in size, then 10 MB is what the DB will use...."
    This does not appear to be consistent with what I am seeing.
    Any ideas on what I might be doing wrong?
    Thanks in advance.

    Have you checked what script is causing the issue ? anything from application ? and OLAP things running on this instance ? how many sql instances are running ? anyother application like sharepoint etc runinning on this host ?
    Check If your SQL Server instance encounters the following conditions then there is a possibility of
    Non-yielding scheduler (SQL Server 2005 and above for the first occurrence. This is equivalent to a 17883 dump in SQL Server 2000.)
    Non-yielding resource monitor (SQL server 2005 and above for the first occurrence)
    Non-yielding IOCP listener (SQL server 2005 and above for the first occurrence)
    Deadlocked Schedulers (SQL server 2005 and above. This is equivalent to a 17884 in SQL Server 2000.)
    Exceptions/Assertions
    Database Corruption
    Latch Timeout
    Other conditions (eg: when DUMPTRIGGER is used to generate a dump for a particular exception)
    http://www.sqlskills.com/BLOGS/PAUL/post/How-to-download-a-sqlservrpdb-symbol-file.aspx
    http://support.microsoft.com/kb/311503
    http://blogs.msdn.com/b/sqlcat/archive/2009/09/11/looking-deeper-into-sql-server-using-minidumps.aspx
    Diagnose and Correct Errors 17883, 17884, 17887, and 17888
    http://technet.microsoft.com/en-us/library/cc917684.aspx
    Raju Rasagounder Sr MSSQL DBA

  • Large Memory Size (:O )

    i created an application that uses 35 MB of memory using the fianal release J2SE 1.4.0
    i'm using swing & JAXP "DOM" to parse and save
    a 25KB xml file.
    my question is:
    how can i analyze the memory of my program, in terms of JVM & Application & Objects of Application(swing, JAXP, EJB......), to focus on one part
    of it, to reduce the memory size, or at least
    know if it is the dcesion of JVM to allocate that memory size.
    any suggesstions, articles, URLs will really help
    thanks.

    i have the same condition also but i found those results:
    a. JVM takes about 10 MB of memory.
    b. GUI swing about 5-8 MB
    c. JAXP takes about 15-20 MB of memory for a 30 KB XML file
    which nearly causes a total consumed memory of 25-30 MB of memory. weard results, right.
    b.r
    mnmmm

  • Large memory size

    i created an application that uses 35 MB of memory using the fianal release J2SE 1.4.0
    i'm using swing & JAXP "DOM" to parse and save
    a 25KB xml file.
    my question is:
    how can i analyze the memory of my program, in terms of JVM & Application & Objects of Application(swing, JAXP, EJB......), to focus on one part
    of it, to reduce the memory size, or at least
    know if it is the dcesion of JVM to allocate that memory size.
    any suggesstions, articles, URLs will really help
    thanks.

    you can use a profiler, which shows the allocated/created objects...
    e.g.: on the following sites are demos available
    http://www.optimizeit.com/
    http://www.sitraka.com/software/jprobe/

  • Epson Print CD - "Increase memory size"

    Bit of a long shot I guess, but I'm trying to print onto a CD using Epson Print CD... However, when I go to print, it comes up with a message that says "Please increase memory size for print CD", and won't go any further. I'm guessing that has something to do with setting preferences in OSX, but I have no idea what to do...
    Any ideas?

    Greg,
    Actually the versions are newer. I just visited the Epson website and found this info. Thank you for the pointer.
    Here's the PowerPC version for your iMac iSight 2.5aAas for 10.2 to 10.4, and Intel version, if you got any Intel Macs 3.0aAs for 10.4.4 and above on the U.S. website. The U.K. links for the same printer are here: PowerPC version 2.5, and Intel version 3.0. Not sure if there is a difference, but you might want to try the U.S. version of the drivers. Realize we here in the U.S. spell colour, color!

Maybe you are looking for

  • What is the max HDD for my model iMac?

    Hi I have a 2006 (last of the white plastic gen) iMac 24" 2.16GHz Intel Core Duo. Came with 1GB RAM, which I upgraded to the maximum possible of 3GB RAM. It also came with a 250GB HDD which I would like to upgrade. I know Apple won't do this and I ne

  • Transfering fiels value

    Hello gurus ,                 I have two transaction in module pool program , I want to transfer some field value ( ex plant) from one transaction to another transaction field ex (plant) .       In selection screen its so simple , but how to do in mo

  • RFKORD50 with multiple line items

    Hi, It seems RFKORD50 prints only one line item in windows MAIN text element 521. However my requirement is to display all of them. In my release /4.70*200/ only sapscript is available, so there is no Smartforms Is there a way to output all of them w

  • Problem occured when i am loading to PSA

    Hi Gurus,   I am trying to load shopping card to PSA in BI. but i got the following errors <b>Diagnosis     Error 8 occurred when starting the data extraction program. System Response     The data extraction is terminated. Procedure     Check for rel

  • Cover Flow? No Photos?

    how do i get my itouch to recognize photos in my music folders for the cover flow? some photos have added and others have not. why is this? i cant find ANY other information on this. pleas help :[