Instance Retrieval Size

I need to increase the Instance Retrieval Size to 500000.
However, BPM warms that the maximum Instance Retrieval Size is 50000.
If it needs to be increase to larger than 50000, how to do it?
I am using BPM Enterprise 10.3.1 for WebLogic, Weblogic 10.3.0, and Oracle 11g.
Edited by: YE on Dec 15, 2009 10:01 AM

Your question is vary vague. Are you referring to Instance Size, or Instance Retrieval...
BPM doesn't handle 50,000 instances very well... So they put that as the limit... I recommend keeping that number much lower (5k?)...
If you're talking about Instance size, and your instances are are over 50mb... you really need to refactor the code, and eliminate (or nullify) instance variables, consider separated variables (Dan has plenty of forum posts on separated variables). Instance size should always be kept to a minimum, and unless specifically needed, should be lower than 64kb....
HTH...

Similar Messages

  • EM12c: SNMP V2c table retrieval size limitation?

    Hi,
    I am trying to use SNMP fetchlet to retrieve data from ifTable and ifXTable tables and need to use V2c since some of the data is Counter64 data types. The collection of metrics fails at row 26 while the table contains more than 500 interfaces.
    Is there some limit on how many rows the SNMP fetchlet can retrieve with V2c?
    Anyone else using V2c in their plugins using SNMP fetchlet?
    Here is the xml definitions from the plugin using the SNMP fetchlet.
              <QueryDescriptor FETCHLET_ID="Snmp">
                   <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
                   <Property NAME="hostname" SCOPE="INSTANCE">hostName</Property>
                   <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
                   <Property NAME="VERSION" SCOPE="GLOBAL">V2c</Property>
                   <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
                   <Property NAME="TABLE" SCOPE="GLOBAL">TRUE</Property>
                   <Property NAME="OIDS" SCOPE="GLOBAL">
                        1.3.6.1.2.1.2.2.1.1 <!--ifIndex-->
                        1.3.6.1.2.1.2.2.1.2 <!--ifDescr-->
                        1.3.6.1.2.1.31.1.1.1.18 <!--ifalias-->
                        1.3.6.1.2.1.31.1.1.1.15 <!--XTable ifHighSpeed-->
                        1.3.6.1.2.1.2.2.1.7 <!--ifAdminStatus-->
                        1.3.6.1.2.1.2.2.1.8 <!--ifOperStatus-->
                        1.3.6.1.2.1.31.1.1.1.7 <!--ifHCInUcastPkts-->
                        1.3.6.1.2.1.31.1.1.1.11 <!--ifHCOutUcastPkts-->
                        1.3.6.1.2.1.2.2.1.13 <!--ifInDiscards-->
                        1.3.6.1.2.1.2.2.1.19 <!--ifOutDiscards-->
                        1.3.6.1.2.1.2.2.1.14 <!--ifInErrors-->
                        1.3.6.1.2.1.2.2.1.20 <!--ifOutErrors-->
                        1.3.6.1.2.1.31.1.1.1.6 <!--iHCfInOctets-->
                        1.3.6.1.2.1.31.1.1.1.10 <!--ifHCOutOctets-->
                   </Property>
              </QueryDescriptor>
    Thanks, Ari

    Hi,
    Thank you for the response,
    I tried this value but it only applies for SNMP V1 version where the getNext operation is used to retrieve the table.
    If you have Counter64 values you need to use SNMP V2c. While doing V2c the max limitation will be used in the first portion where Snmp fetchlet uses getNext operations using the first OID to determine the size (number of rows) of the table, and then uses this size value in the getBulk operation as max-repetitions argument.
    The getBulk is only sent one time and the result only contains Varbinds to the max size of allowed the packet. The return data is thus limited to a number of varbinds which is much lower that the actual table.
    What I think it should be doing is not do the getNext operation to get the table size, but instead just do multiple getBulk with smaller number of max-repetitions, something which would be like 5 or 10. This would retrieve those 5 or 10 rows at a time. Also this value should be a parameter in the fetchlet configuration since the plugin developer would benefit using this to configure/optimize the getBulk operation. See MAX-REPETITIONS property in the example below.
    As an example of the config for query descriptor:
              <QueryDescriptor FETCHLET_ID="Snmp">
                   <Property NAME="NAME" SCOPE="INSTANCE">NAME</Property>
                   <Property NAME="hostname" SCOPE="INSTANCE">hostName</Property>
                   <Property NAME="COMMUNITY" SCOPE="INSTANCE" OPTIONAL="TRUE">CommunityString</Property>
                   <Property NAME="VERSION" SCOPE="GLOBAL">V2c</Property>
    _*               <Property NAME="MAX-REPETITIONS" SCOPE="GLOBAL">10</Property>*_
                   <Property NAME="TIMEOUT" SCOPE="INSTANCE" OPTIONAL="TRUE">Timeout</Property>
                   <Property NAME="TABLE" SCOPE="GLOBAL">TRUE</Property>
                   <Property NAME="OIDS" SCOPE="GLOBAL">
                        1.3.6.1.2.1.2.2.1.1 <!--ifIndex-->
                        1.3.6.1.2.1.2.2.1.2 <!--ifDescr-->
                        1.3.6.1.2.1.31.1.1.1.18 <!--ifalias-->
                        1.3.6.1.2.1.31.1.1.1.15 <!--XTable ifHighSpeed-->
                        1.3.6.1.2.1.2.2.1.7 <!--ifAdminStatus-->
                        1.3.6.1.2.1.2.2.1.8 <!--ifOperStatus-->
                        1.3.6.1.2.1.31.1.1.1.7 <!--ifHCInUcastPkts-->
                        1.3.6.1.2.1.31.1.1.1.11 <!--ifHCOutUcastPkts-->
                        1.3.6.1.2.1.2.2.1.13 <!--ifInDiscards-->
                        1.3.6.1.2.1.2.2.1.19 <!--ifOutDiscards-->
                        1.3.6.1.2.1.2.2.1.14 <!--ifInErrors-->
                        1.3.6.1.2.1.2.2.1.20 <!--ifOutErrors-->
                        1.3.6.1.2.1.31.1.1.1.6 <!--iHCfInOctets-->
                        1.3.6.1.2.1.31.1.1.1.10 <!--ifHCOutOctets-->
                   </Property>
              </QueryDescriptor>
    Thanks, Ari

  • Instance Variable size

    Hi
    I have a question regarding size of normal instance variable.
    It has been mentioned in the Studio 5.7 doc that the total size of all the instance variable for a project should not exceed 2Mb.
    Question is that if it exceeds more than 2Mb than what would be its effects. Is there any exception thrown if size exceeds above 2Mb.
    Also how can this be prevented as actual size can only be calculated at runtime.
    Thanks in advance.

    The instance size exceeding the setting you have inside your Engine will cause errors to start appearing in the log file. The effect is that your engine's performance will degrade. Once you start getting Error messages, they are usually sent via email to the admin you specify in the Engine's settings.
    A few ways to keep the size of the instance variables down is to:
    1) change the category of large instance variables to "Separated" from "Normal". This means that they are not stored as part of then instance's BLOB stored in the PPROCINSTANCE Engine database. They are then only read from the Engine's separated instance variable table when they are needed in the activity's logic or updated only when modified in the activity. Separated instance variables are not calculated as part of the overall size of the instance.. Large binary variables not marked as Separated will quickly run you over your instance size limit.
    2) Similarly, we sometimes treat the process instance variables as a database of record. Avoid this mentaility if possible. It's often better to have an external database to store information about things going on in the process. If you rely on the Engine tables for this for very large objects they are not easily retrieved by outside applicaitons because they are stored as a single BLOB. If outside applications access the Engine's database, it's another sure fire way to further degrade engine performance. Many times it' is better to store the id of a customer in the process and then to use that id to retrieve customer insformation from the cutomer's external database table. Once an instance has reached the End activity in a process, it sits there the number of days you specified in an Engine setting. Once it exceeds this number of days in the End activity, the instance data information is either purged or moved to the archive database. Don't make this number of days in the End activity too long (default is 15) as this will increase the sized of the number of rows on the table and degrade performance.
    Hope this helps,
    Dan

  • Regarding GP instance retrieval from db

    Dear Frds
    I have two environments
    consiladation and Testing  which has same database
    i generated a GP and inserted using testing , I am able to retrieve GPs which are inserted into database using Testing
    but when i want to retrieve GP which is inserted by Testing
    in Consolidation portal "Unable to retrieve GP Instance Contact ur administarator is error is coming"
    HOw to retrieve GP which is inserted by testing in Considation env
    So i tried to insert GP using considation and able to retrieve the GP instance from database
    Do i need to do some change in portal settings....
    Thanks and Regards

    Hi Dipankar,
    that's kind of strange. I'm doing the following:
    //Start a process
    IGPProcessInstance prInstance =
                   rtm.startProcess(
                        process,
                        processName,
                        processDescription,
                        user,
                        roles,
                        params,
                        user);
    //Getting the Process-Instance-Id and putting it into a Context
    wdContext.currentContextElement().setProcessID(prInstance.getID());
    //Showing some Process-Start-Results on a different View, and when the users pushs the next-button...
    //Getting the ProcessInstanceId back
    String processID = wdThis.wdGetRefitStartCompController().wdGetContext().currentContextElement().getProcessID();
    //And redirect...
    WDPortalNavigation.navigateAbsolute(
                                  gpRuntimeIViewURL,
                                  WDPortalNavigationMode.SHOW_INPLACE,
                                  WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                                  "processId="+processID);
    And this dosn't bring the pending workitem up, but the runtime overview. I'm sure, the Process Instance Id and the Runtime Url are correct.
    Any hints what's happening here.
    Thank you very much.
    Daniel

  • Instance retrieval after BPM failure

    Hi,
    Suppose if BPM fails after an instance is created and in-flight.
    Can that in-flight instance be retrieved after BPM recovers from a failure? Is there any kind of procedure to recover it or is it auto-retrieved? Is the instance info and details in the BPM internal database? Can we see this in the audit trail?

    Yes - once the instance has been created, you'd want to handle both sytem and business exceptions inside the process.
    Once inside the process if a system exception is not handled, it is retried the number of times the Engine's setting calls for at the interval specified by another of Engine's settings. The default Engine properties are to have Studio retry one time at a 15 second interval and Enterprise retry 5 time at 30 minute intervals. If a system exception is not caught, it is either propagated back to the parent process or (if there is no parent process) it is sent to the End activity. This is why you almost always want every process to built with an Exception handler that handles the "Others" exception coming out of it at a minimum. If you do not do this, during testing you'll notice that you have work item instances that seem to disappear. In reality, there was an exception that was not caught.
    Others will probably disagree, but compensations aren't that common. If an exception occurs inside an activity, you can either catch it inside the logic using a try/catch block or allow it be caught by the Exception Handler. If caught by the Exception Handler, then the original activity's transaction never committed and there's no need for a compensation or rollback.
    Dan

  • Retrieving size of DAM Asset

    I'm trying to get the size (in this case it's 30 KB but it could be whatever) of an asset from the CQ5 DAM. I've written code like this below that gives me the title
    Resource rsc = resourceResolver.getResource(damLink +"/jcr:content/metadata");
                if (rsc != null)
                    ValueMap damVmap = ResourceUtil.getValueMap(rsc);
                    String title = damVmap.get("dc:title", "");
    But I can't seem to find the size stored in either the asset itself, its jcr:content, metadata, or rendition. Am I missing something or does CQ5 not support this? Thanks in advance for your help!

    File size will vary based on the asset renditions. There is a getSize() api call on the com.day.cq.dam.api.Rendition Object. See documentation here: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/dam/api/Rendition.html#getSize()

  • SAP Query Language max retrieve size 512 bytes?

    Hello,
    Does anyone know if there is a 512 byte limit on retrieves from a table when using SAP Query Language?  In other words the length of all the fields in the retrieve can't exceed 512 bytes?
    Thanks

    Hi,
    And also you need check this thread
    May this will help you out.

  • Instance RAM size = 512 MB?

    Hi,
    I want to intsall the central instance of the ABAP-part.
    Which is the optimal value of the instance ram?
    Our SAP-Server has 2 GB RAM.
    Can anybody help me.
    Thanks.
    Greets
    Stefan

    Please use interrogation marks properly.
    Do not use txt language
    Not enough information about the problem
    No research been done
    Please read the "Rules of Engagement" before posting.
    Regards
    Juan
    Edited by: Juan Reyes on Oct 14, 2008 10:54 AM

  • Clearance of aborted instances in workspace in OBPM 10gR3

    Hi all,
    We have 4000 aborted instances when we see in the OBPM workspace for now. The instances which were aborted later after the 4000 instances cannot be seen now in the workspace when we search for them by the following route:-
    Inside the workspace--> Show Filters --> Include the processes whose instances need to be seen --> Status --> Aborted..
    How can we delete these 4000 instances from the workspace and how can we see more than 4000 instances aborted in the workspace?
    Is there a limit?

    Poke around your engine's property settings. One of them (Instances cache / PAPI instance retrieval size) is set to 4000.
    As far as getting rid of the aborted instances, look at how often your engine's caducator (the "latency" setting) runs (typically every 48 hours) and how long the instances that have reached the end activity (the instance expiration setting) are looked at (typically every 15 days).
    Dan

  • Emtpy 'AppModel' in workspace (after include frompublicplans)

    Hi,
    I just do 'rpcreate -fr bt:myrepos',
    I create a workspace
    I include the 'AppModel' from the baseline (includepublicplan)
    and that plan appears to be empty.
    Do I need a parameter for rpcreate ?
    When I try to import a model, I got this:
    (14) CMD: ImportPlan AModel.pex nomerge
    CodeBlock::error:Line 10:An untyped object constructor is not allowed in
    this context.
    CodeBlock::error:Line 10:The name abRepositoryClient is unknown.
    CodeBlock::error:Line 12:The name abApplicationModel is unknown.
    CodeBlock::error:Line 13:The name abApplicationModel is unknown.
    CodeBlock::error:Line 13:The name abApplicationModel is unknown.
    CodeBlock::error:Line 22:The name abApplicationModel is unknown.
    ERROR: Command failed. The error manager stack is:
    USER ERROR: Workspace Delivery cannot log element qqLO_ForteScope; Workspace
    RepositoryAdministration has it checked out.
    Class: qqsp_UsageException with ReasonCode: SP_ER_INVALIDSTATE
    Error #: [1101, 1009]
    Detected at: qqrp_Version::LogTransact
    Last TOOL statement: method FSCRIPT_Shell.ImportPlan
    Error Time: Thu Sep 23 15:50:15
    Exception occurred (locally) on partition "Fscript_cl9_Client",
    (partitionId = 4334A230-6AA1-11D3-A3E2-1E495D87AA77:0x1a4:0x1, taskId
    =
    [4334A230-6AA1-11D3-A3E2-1E495D87AA77:0x1a4:0x1.1]) in application
    "fscript", pid 17273 on node aquarius in environment CentralEnv.
    Thanks,
    J-Paul

    Poke around your engine's property settings. One of them (Instances cache / PAPI instance retrieval size) is set to 4000.
    As far as getting rid of the aborted instances, look at how often your engine's caducator (the "latency" setting) runs (typically every 48 hours) and how long the instances that have reached the end activity (the instance expiration setting) are looked at (typically every 15 days).
    Dan

  • How to measure the task instance size

    I am trying to understand how to measure the custom task instnace size that was occupied in the cache repository. Is there a way to obtain the size (in KB s ) in lighthouse 4.1 +sp5. Please help.                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi, Luiz!
    In order to estimate the instance size, you will have to sum up all the instance variables size.
    From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
    For already existing instances, you can look the instance size in the database:
    An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
    You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
    And yes, with large instances you can have performance problems.

  • How to query the current instance size of an instance of a process

    Hello guys,
    I'm currently doing a Capacity Plan for my BPM enviroment and I would like to know the current instance size of different kind of processes deployed in my environment. I'll need this to calculate an average instance size per process. The main reason for this capacity plan is that our environment instance size is configured to more then 1000kb(don't know what kind of issues occurred in the past that led to this exceeded value configured) and I don't want to leave this configuration but I can't be safe decreasing it without know if our production environment will start launching the "Max Instance Size Exceeded" error.
    Is there any way to fetch this information? Any API or SQL Query where I can find this information?
    Thanks for any help.
    Regards,
    Luiz
    Edited by: Luiz Rocha on 30/04/2009 16:50

    Hi, Luiz!
    In order to estimate the instance size, you will have to sum up all the instance variables size.
    From the practical prospective it may be difficult to use the algorithm in cases when your instance variables are not simple types.
    For already existing instances, you can look the instance size in the database:
    An instance is just a java object, that is serialized as a byte[] and stored in the engine database, PPROCINSTANCE table, column INSTDATA.
    You can write a simple program (either java or SQL plus) that would read the instance from the BLOB and measure the size.
    And yes, with large instances you can have performance problems.

  • Retrieve Heap size from program

    Hi, i searched the foruns with "get heap size" and "retrieve size"
    and i also checked the System.getProperty(String key) string keys at
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#getProperty(java.lang.String)
    and havent found a method to retrieve the currently set heap size.
    Is there a way to do this?
    My program needs to initialize something based on how large the
    user set the heap size (using the command line -Xms32m -Xmx128m...)
    Any info would be appreciated! Thanks alot!

    Touche!
    Thanks alot you pointed me in exactly the right direction.
    When i did research on java.lang.Runtime
    i found this post
    http://forums.java.sun.com/thread.jspa?threadID=529065&start=0&tstart=165
    which is a great two page thread on this subject.
    Runtime
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#maxMemory()

  • Max Instance Size?

    Hey all,
    Does anyone know where/how you set the max process instance size? I created a BPM Object with a string attribute. I then created a quick presentation so that I could cut and past an xml document into the text area and submit the form. When I submit the form, I get the following error:
    Caused by: Process execution engine execution error.
    Caused by: Max instance size exceeded.
    Current size is 23461, whereas the maximum size is 16384.
    My code seems to work fine with a smaller xml document. Any ideas would be much appreciated.
    Thanks,
    Graham

    Hi Graham,
    In Studio you can change the max instance size by going to the Project Navigator tab -> right mouse clicking the project -> click "Engine Preferences" -> with the "Engine" catagory selected in the upper left corner click the "Advanced" tab in the upper middle portion of the dialog -> change the value in the "Maximum Instance Size" field.
    There's a similar setting on Enterprise you'll need to change before you start deploying the project to this.
    You'll get a warning message if you've made it too big ("The amount of memory used to store instance in memory (instance max size * cache size) should be less than half the maximum JVM Heap Size). If you see this error, pull out your calculator and click on the "Details" tab (to the right of the "Advanced" tab you just clicked"). Note the "Maximum JVM Heap Size" (typically 256mb). As an example, if you change the instance size in the "Advanced" tab from 16kb to 32kb, you might want to change the "Instances Cache" setting from 5000 to 2500.
    Hope this helps,
    Dan

  • Table index size in DB02 smaller after upgrade

    SAP ERP 6.0, DB2 9.5, AIX 5.3.  After we upgraded to SPS 15 / EHP4 / Netweaver EHP1 SPS02 using the downtime minimized method (shadow instance created) the index sizes for the tables are showing reduced sizes. When looking in DB02 under  History -> "tables and indexes" all the tables show a drop in index sizes.   I have compared the indexes to a pre upgrade copy of the system and all the indexes are still defined and active in the upgrades system.  Can somebody please explain why the size drop?  Is this a reporting error or what?

    Hi Eddie,
    DB2 V8.2 did not allow to retrieve table/index size information from DB2 directly. Therefore the SAP DB2 database interface and the CCMS code tried to do some size estimation based on cardinality and table/index width. DB2 V9.1+ provides table function ADMIN_GET_TAB_INFO to retrieve size information directly from DB2. Since this size information is much more accurate the SAP DB2 database interface and the CCMS code have been changed to use this table function.
    So the phantom-"shrink" you observed may be related to the switch from size estimation to the size retrieved from ADMIN_GET_TAB_INFO . This may have happened directly after the V9.5 upgrade ( size retrieved differently in SAP DB2 database interface ) or after the SAP release upgrade ( change in CCMS ABAP coding ).
    Regards
                     Frank

Maybe you are looking for

  • Sharing an iTunes library across multiple computers

    I tried Home Share but it did not do what i expected.  In addition to doing Home Share, the files need to be copied to each computer apparently.  Is it permitted to have the iTunes Library be located on a shared disc (such as one attached to an AirPo

  • BPM TASK IS not visible in UWL  Inbox

    Hi  BPM Expert,   I am facing the big issues in BPM process Triggered problem. earlier i used  to BPM start using Web service with Two entity as ID and Username  but its was  working fine .but i have some requirement to  adding one element in Existin

  • Chinese language in mail

    I wrote my messages in Chinese with automatic text encoding on. Everything looks fine to me but the recipients only saw a bunch of strange characters. This wasn't a problem when I run Leopard but Lion seems doesn't understand Chinese. Any solutions?

  • WiFi network security: How do I create a hidden SSID using Time Capsule?

    Hello. I'm having a security issue on my wireless network. I recently noticed (via a Finder window under "Shared" on the left side of the window) someone squatting on our wifi network which is WPA encrypted and is based on a Time Capsule plus 2 Airpo

  • Can Digital Camera Photos in PS Elements be Used in Pre Elements?

    I have digital photos from my camera saved in my PS Elements program. I want to convert them to a slide show DVD for viewing on a television. I am entirley new to Pre Elements but as I read and look at the tutorials I note they only talk about movie