Animation gets slow when program needs a Garbage Collect.

So nonetheless, I should probably develop a new animation algorithm, yes?
I am looping through a seperate thread that calls the setSize() methods a bunch of times. Works really nice when memory isnt bad, but when I need to garbage collect, and apparantly java doesnt agree, it gets really slow. Later one is really able to see when a GC is actually done, and it goes back to normal.
Here is my algorithm,
public static boolean raisePanel(final VCMSComponentFrame p, final boolean anim)
        if (p.getState() == VCMSComponentFrame.State.RAISED ||
            p.getState() == VCMSComponentFrame.State.ANIMATING)
            return false;
        new Thread(new Runnable()
            public void run()
                p.setState(VCMSComponentFrame.State.ANIMATING);
                if (anim)
                    for (int i = p.getHeight(); i <= FULL_PANEL_HEIGHT; i++)
                        try
                            p.setSize(p.getWidth(), i);
                            JComponent parent = (JComponent)p.getParent();
                            int index = findIndex(p);
                            for (int j = index + 1; j < parent.getComponentCount() && j != 0; j++)
                                 parent.getComponent(j).setLocation(parent.getComponent(j).getX(), parent.getComponent(j).getY() + 1);
                            //Viewport Panel
                            parent.setSize(parent.getWidth(), parent.getHeight() + 1);
                            //Structure Frame
                            VCMSStructurePanel panel = (VCMSStructurePanel)parent.getParent();
                            parent.getParent().setSize(panel.getWidth(), panel.getHeight() + 1);
                            //Structure Siblings.
                            JPanel master = (JPanel)panel.getParent();
                            index = findStructureIndex(panel);
                            for (int j = index + 1; j < master.getComponentCount() && j != 0; j++)
                                master.getComponent(j).setLocation(master.getComponent(j).getX(), master.getComponent(j).getY() + 1);
                            Thread.sleep(1);
                        catch (Exception ex)
                else
                    p.setSize(p.getWidth(), FULL_PANEL_HEIGHT);
                    JPanel parent = (JPanel)p.getParent();
                    int index = findIndex(p);
                    //Viewport Panel
                    parent.setSize(parent.getWidth(), parent.getHeight() + FULL_PANEL_HEIGHT - SHORT_PANEL_HEIGHT);
                    //Structure Frame
                    VCMSStructurePanel panel = (VCMSStructurePanel)parent.getParent();
                    parent.getParent().setSize(panel.getWidth(), panel.getHeight() + FULL_PANEL_HEIGHT - SHORT_PANEL_HEIGHT);
                    //Component Siblings
                    for (int j = index + 1; j < parent.getComponentCount() && j != 0; j++)
                        parent.getComponent(j).setLocation((int)parent.getComponents()[j].getLocation().getX(), (int)parent.getComponents()[j].getLocation().getY() + FULL_PANEL_HEIGHT - SHORT_PANEL_HEIGHT);
                    //Structure Grandparent
                    JPanel master = (JPanel)panel.getParent();
                    index = findStructureIndex(panel);
                    for (int j = index + 1; j < master.getComponentCount() && j != 0; j++)
                        master.getComponent(j).setLocation((int)master.getComponent(j).getLocation().getX(), (int)master.getComponent(j).getLocation().getY() + FULL_PANEL_HEIGHT - SHORT_PANEL_HEIGHT);
                p.setState(VCMSComponentFrame.State.RAISED);
        }).start();
        //System.gc();
        return true;
    }any help appreciated!

sierratech wrote:
Only a guess, but this may have something to do with Threads and Swing.
http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html.
Many Swing updates should be called in the Event Dispatch thread, and it looks like you may be calling some of these in your new Thread.
Try using SwingUtilities.invokeLater() and see if that helps. Alternatively, rewrite your code to remove the Thread and do everything in the event Dispatch thread using javax.swing.Timer. Again, just a guessThanks for the Idea, but this option doesnt even show the animation.
One Idea I got from a "Swing Hacks" directory works like this:
Remove the components for animation.
Create an image of the components.
Overide the Paint method.
Animate the images via paint method.
Remove the images.
Add back the components.
But I look at that and my stomach cringes.
Any other Ideas?

Similar Messages

  • I got macbook pro 13" i bought in 2011 but its now getting slow when i start up or when shutting down .and apps takes time to open like just bouncing????????

    i got macbook pro 13" i bought in 2011 but its now getting slow when i start up or when shutting down .and apps takes time to open like just bouncing????????

    See the Mac OS X Speed FAQ.

  • Labview visa getting slow when connected to arduino

    visa in labview when connected to arduino prog gets slow
    i have checked it passes the required codde but action is slow
    and most important every time to get the o/p i need to stop the prog then start again.
    i tried doing a new prog with only one string constant and visa in  singlw while loop thinking this was due to lenghty progs but still things are not working as i want i.e. fast n without stopping the prog. i have attached my files n images of required portion of block diag
    i have used a string of lenght 10 char n i my program and just one visa write.
    Solved!
    Go to Solution.

    Ranjeet_Singh my requirement is to send 10 character srting from visa write to arduino. When i change the controller index and click on my led's which i have designed to transmit my code( only if true) using case selctor the code must reach arduino. It reaches but there is a delay of 2 to 3seconds everytime i send. and next time when i change th index and click the led to send the code it is not passed. when i run the program again it is passed. I have added all my code in a single while loop which runs continously.
    I have made a code in arduino for my hardware. when i send codes from arduino my hardware runs successflly.
    n yes only command response operation is involved.
    regarding 2011 i wont be able to i guess.but i am copy pasting my prog in labview 7.1. except visa everythig is pasted i guess.
    i have attached images of my block diagram for further reference.
    my harware is: two 8bit DAC, DDS an i.c. which accepts code and generates sinwave, digital potentiometer which accepts code and takes a value between 0 to 10kohm and 12 relays take thier control signal from this code.
    crossrulz m using port 18 of my p.c and connecting usb to arduino mega 2560. 
    my harware is: two 8bit DAC, DDS an i.c. which accepts code and generates sinwave, digital potentiometer which accepts code and takes a value between 0 to 10kohm and 12 relays take thier control signal from this code.
    i judge labview goes slow because when i dont connect arduino n run the prog the hex code indicator going to visa displays code exactly at the instant when i press led for transmission of code.
    as per ur sugesstion  i checked arduino board i found thr transmission and recieve led's are on continously.and as per my labview prog my transmission should actually start only when i click the led.may due to continues transmissiion its getting slow. 
    but what can i do then? 

  • My mac gets slow when I play music from my iTunes library

    Hi, aproximately six months ago I noticed that everytime I play music from my iTunes library that its stored in my 27" iMac's hard drive, the computer gets slow, the images start to flicker, the animatios on the dock and the one when u minimize or maximaze the windows, also flicker. As soon as I close iTunes the computer works fine again. When I play music from a CD this doesn't happen.
    I've taken the iMac to two service providers along theese 6 months and neighther have been able to fix the issue. What they have diagnozed is an issue with the hard drive which has been changed 4 times already.
    What could be the issue?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • MS Access connectivity gets slow when connecting insidde network domain

    Hello,<o:p></o:p>
    We've created an application based on Excel VBA that connects to an access DB located at the file server in our network domain. Now I'm installing
    same app in another server for another domain, but the connection is really slow so the app hangs while retrieving information from the .mdb file located at the server.<o:p></o:p>
    I created a local environment in my computer to test and realized as as soon as I connect the network cable the connection to the DB get slow, but
    when I unplug the network cable the app start to responding as usual.<o:p></o:p>
    I'm using Ole DB jet 4.0 with the following connection string:<o:p></o:p>
    cnt.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= MasterDB ;Jet OLEDB:Database Password= 12345;"<o:p></o:p>
    It seems that the problem it is related to some authentication on the server that makes the connectivity slow because it has not sense to me that
    when I connect the network cable and log into the domain the speed goes down even if the application is looking to the DB file in mi local hard drive.<o:p></o:p>

    I'd try them over here.
    Office
    Access forums on Microsoft Answers
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Need for garbage collection using Webdynpro Binary Cache?

    Dear Sirs,
    I am using the Wiki guide, Exporting Table Data Using On-Demand Streams to export table data to Excel.  (this is using Webdynpro binary cache)
    Everything is working fine, however I would like to check prior to transport to production, if i need to do any garbage collection using this solution.
    My biggest fear is if the all the excel files generated are stored forever, thus filling up the disk space or memory and crashing the production server.
    Can anyone give me advice ?
    best regards,
    Jørgen Ruud

    <b>Hi
    Check This URL
    Memory Usage
    http://help.sap.com/saphelp_nw04/helpdata/en/98/f73c41325fa831e10000000a1550b0/frameset.htm
    Resource Management
    http://help.sap.com/saphelp_nw04/helpdata/en/15/d73f41d900db2be10000000a1550b0/frameset.htm
    Regards
    Chandran S</b>

  • After firefox updated last time, adobe updated as well, now whenever certain sites load, I get the a program needs you permission to continue which is Adobe DLM. What's up with this and how do I get it to stop?

    The problem started when firefox updated on startup. This screen is what vista puts up whenever you are about to load something new. I have already installed the adobe update twice and yet this continues.

    The Adobe DLM is not required for Adobe products to work. You can uninstall it by opening the Windows Control Panel and selecting Add or Remove Programs. In the list of programs select Adobe DLM (may be listed as Adobe Download Manager) and click on remove.

  • Query  getting slow when i execute second time--- anybody pls help

    here is the query
    SELECT FOOD.FOOD_NR, FOOD.FOOD_NAME, MEAL_DISH_FOOD.SERVING_AMT, MEAL_DISH_FOOD.MEASURE_UNIT_NR, MEAL.MEAL_NR,
    MEAL.MEAL_TYPE_CODE, MEAL.MEAL_NAME, MEAL.CALORIC_DEFICIT, MEAL.CARB_GRAMS, MEAL.PROTEIN_GRAMS,
    MEAL.FAT_GRAMS, DISH.DISH_NR, DISH.DISH_NAME, DISH.INSTRUCTIONS
    FROM MEAL, MEAL_DISH_FOOD, FOOD, DISH
    WHERE MEAL.MEAL_NR = MEAL_DISH_FOOD.MEAL_NR AND FOOD.FOOD_NR = MEAL_DISH_FOOD.FOOD_NR AND
    DISH.DISH_NR = MEAL_DISH_FOOD.DISH_NR AND
         MEAL.MEAL_NR IN (SELECT MEAL.MEAL_NR FROM (SELECT MEAL_NR FROM
         (SELECT DISTINCT FILTER_SET.MEAL_NR, SUM(VAR) SCOPE, COUNT(FILTER_SET.MEAL_NR) CATCOUNT FROM
         (SELECT MEAL_NR, SUM(ABS(CARB_GRAMS - ?)) VAR FROM MEAL WHERE MEAL.MEAL_TYPE_CODE = ?
         AND MEAL.DIETARY_RESTRICTION_NR IN (?) AND MEAL.IS_CUSTOM = 'N' AND MEAL.IS_DELETED = 'N' AND
         PREPARATION_TYPE_CODE IN (?) AND MEAL.by_person_nr = 0 GROUP BY MEAL_NR
         UNION ALL
         SELECT MEAL_NR, SUM(ABS(PROTEIN_GRAMS - ?)) VAR FROM MEAL
         WHERE MEAL.MEAL_TYPE_CODE = ? AND MEAL.DIETARY_RESTRICTION_NR IN (?) AND
         MEAL.IS_CUSTOM = 'N' AND MEAL.IS_DELETED = 'N' AND
    PREPARATION_TYPE_CODE IN (?) AND MEAL.by_person_nr = 0 GROUP BY MEAL_NR
         UNION ALL
         SELECT MEAL_NR, SUM(ABS(FAT_GRAMS - ?)) VAR FROM MEAL
         WHERE MEAL.MEAL_TYPE_CODE = ? AND MEAL.DIETARY_RESTRICTION_NR IN (?) AND
         MEAL.IS_CUSTOM = 'N' AND MEAL.IS_DELETED = 'N' AND
         PREPARATION_TYPE_CODE IN (?) AND MEAL.by_person_nr = 0 GROUP BY MEAL_NR)
         FILTER_SET GROUP BY FILTER_SET.MEAL_NR) WHERE CATCOUNT = 3 ORDER BY SCOPE) WEIGHTED_SET, MEAL
         WHERE MEAL.MEAL_NR = WEIGHTED_SET.MEAL_NR AND ROWNUM &lt;= ? AND MEAL.by_person_nr = 0)
    Regards
    Sathish

    STATEMENT_ID     TIMESTAMP     REMARKS     OPERATION     OPTIONS     OBJECT_NODE     OBJECT_OWNER     OBJECT_NAME     OBJECT_INSTANCE     OBJECT_TYPE     OPTIMIZER     SEARCH_COLUMNS     ID     PARENT_ID     POSITION     COST     CARDINALITY     BYTES     OTHER_TAG     PARTITION_START     PARTITION_STOP     PARTITION_ID     OTHER     DISTRIBUTION     CPU_COST     IO_COST     TEMP_SPACE     ACCESS_PREDICATES     FILTER_PREDICATES
    q2     09/08/2005 21:15:05          SELECT STATEMENT                                   CHOOSE          0.00          77.00     77.00     2.00     716.00                                        77.00               
    q2     09/08/2005 21:15:05          NESTED LOOPS                                             1.00     0.00     1.00     77.00     2.00     716.00                                        77.00               
    q2     09/08/2005 21:15:05          NESTED LOOPS                                             2.00     1.00     1.00     73.00     2.00     662.00                                        73.00               
    q2     09/08/2005 21:15:05          NESTED LOOPS                                             3.00     2.00     1.00     71.00     2.00     128.00                                        71.00               
    q2     09/08/2005 21:15:05          NESTED LOOPS                                             4.00     3.00     1.00     68.00     1.00     48.00                                        68.00               
    q2     09/08/2005 21:15:05          VIEW               SYS     VW_NSO_1                         5.00     4.00     1.00     62.00     1.00     13.00                                                       
    q2     09/08/2005 21:15:05          SORT     UNIQUE                                        6.00     5.00     1.00          1.00     21.00                                                       
    q2     09/08/2005 21:15:05          COUNT     STOPKEY                                        7.00     6.00     1.00                                                                      ROWNUM<=5
    q2     09/08/2005 21:15:05          NESTED LOOPS                                             8.00     7.00     1.00     62.00     1.00     21.00                                        62.00               
    q2     09/08/2005 21:15:05          VIEW               ISHADMIN          5.00                    9.00     8.00     1.00     56.00     3.00     39.00                                                       
    q2     09/08/2005 21:15:05          SORT     ORDER BY                                        10.00     9.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/08/2005 21:15:05          FILTER                                             11.00     10.00     1.00                                                                      COUNT("FILTER_SET"."MEAL_NR")=3
    q2     09/08/2005 21:15:05          SORT     GROUP BY                                        12.00     11.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/08/2005 21:15:05          VIEW               ISHADMIN          7.00                    13.00     12.00     1.00     48.00     3.00     78.00                                                       
    q2     09/08/2005 21:15:05          UNION-ALL                                             14.00     13.00     1.00                                                                      
    q2     09/08/2005 21:15:05          SORT     GROUP BY                                        15.00     14.00     1.00     16.00     1.00     18.00                                        16.00               
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     8.00          ANALYZED          16.00     15.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/08/2005 21:15:05          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     17.00     16.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/08/2005 21:15:05          SORT     GROUP BY                                        18.00     14.00     2.00     16.00     1.00     18.00                                        16.00               
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     9.00          ANALYZED          19.00     18.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/08/2005 21:15:05          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     20.00     19.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/08/2005 21:15:05          SORT     GROUP BY                                        21.00     14.00     3.00     16.00     1.00     18.00                                        16.00               
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     10.00          ANALYZED          22.00     21.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/08/2005 21:15:05          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     23.00     22.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     11.00          ANALYZED          24.00     8.00     2.00     2.00     1.00     8.00                                        2.00               "MEAL"."BY_PERSON_NR"=0
    q2     09/08/2005 21:15:05          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     25.00     24.00     1.00     1.00     9,832.00                                             1.00          "MEAL"."MEAL_NR"="WEIGHTED_SET"."MEAL_NR"     
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     1.00          ANALYZED          26.00     4.00     2.00     2.00     1.00     35.00                                        2.00               
    q2     09/08/2005 21:15:05          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     27.00     26.00     1.00     1.00     1.00                                             1.00          "MEAL"."MEAL_NR"="VW_NSO_1"."$nso_col_1"     
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL_DISH_FOOD     2.00          ANALYZED          28.00     3.00     2.00     3.00     2.00     32.00                                        3.00               
    q2     09/08/2005 21:15:05          INDEX     RANGE SCAN          ISHADMIN     MEAL_DISH_FOOD_QX124          NON-UNIQUE     ANALYZED     1.00     29.00     28.00     1.00     2.00     4.00                                             2.00          "MEAL"."MEAL_NR"="MEAL_DISH_FOOD"."MEAL_NR"     
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     DISH     4.00          ANALYZED          30.00     2.00     2.00     1.00     1.00     267.00                                        1.00               
    q2     09/08/2005 21:15:05          INDEX     UNIQUE SCAN          ISHADMIN     DISH_PK          UNIQUE     ANALYZED     1.00     31.00     30.00     1.00          1.00                                                       "DISH"."DISH_NR"="MEAL_DISH_FOOD"."DISH_NR"     
    q2     09/08/2005 21:15:05          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     FOOD     3.00          ANALYZED          32.00     1.00     2.00     2.00     1.00     27.00                                        2.00               
    q2     09/08/2005 21:15:05          INDEX     UNIQUE SCAN          ISHADMIN     FOOD_PK          UNIQUE     ANALYZED     1.00     33.00     32.00     1.00     1.00     1.00                                             1.00          "FOOD"."FOOD_NR"="MEAL_DISH_FOOD"."FOOD_NR"     
    q2     09/11/2005 21:23:49          SELECT STATEMENT                                   CHOOSE          0.00          77.00     77.00     2.00     716.00                                        77.00               
    q2     09/11/2005 21:23:49          NESTED LOOPS                                             1.00     0.00     1.00     77.00     2.00     716.00                                        77.00               
    q2     09/11/2005 21:23:49          NESTED LOOPS                                             2.00     1.00     1.00     73.00     2.00     662.00                                        73.00               
    q2     09/11/2005 21:23:49          NESTED LOOPS                                             3.00     2.00     1.00     71.00     2.00     128.00                                        71.00               
    q2     09/11/2005 21:23:49          NESTED LOOPS                                             4.00     3.00     1.00     68.00     1.00     48.00                                        68.00               
    q2     09/11/2005 21:23:49          VIEW               SYS     VW_NSO_1                         5.00     4.00     1.00     62.00     1.00     13.00                                                       
    q2     09/11/2005 21:23:49          SORT     UNIQUE                                        6.00     5.00     1.00          1.00     21.00                                                       
    q2     09/11/2005 21:23:49          COUNT     STOPKEY                                        7.00     6.00     1.00                                                                      ROWNUM<=5
    q2     09/11/2005 21:23:49          NESTED LOOPS                                             8.00     7.00     1.00     62.00     1.00     21.00                                        62.00               
    q2     09/11/2005 21:23:49          VIEW               ISHADMIN          5.00                    9.00     8.00     1.00     56.00     3.00     39.00                                                       
    q2     09/11/2005 21:23:49          SORT     ORDER BY                                        10.00     9.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/11/2005 21:23:49          FILTER                                             11.00     10.00     1.00                                                                      COUNT("FILTER_SET"."MEAL_NR")=3
    q2     09/11/2005 21:23:49          SORT     GROUP BY                                        12.00     11.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/11/2005 21:23:49          VIEW               ISHADMIN          7.00                    13.00     12.00     1.00     48.00     3.00     78.00                                                       
    q2     09/11/2005 21:23:49          UNION-ALL                                             14.00     13.00     1.00                                                                      
    q2     09/11/2005 21:23:49          SORT     GROUP BY                                        15.00     14.00     1.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     8.00          ANALYZED          16.00     15.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:23:49          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     17.00     16.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:23:49          SORT     GROUP BY                                        18.00     14.00     2.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     9.00          ANALYZED          19.00     18.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:23:49          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     20.00     19.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:23:49          SORT     GROUP BY                                        21.00     14.00     3.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     10.00          ANALYZED          22.00     21.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:23:49          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     23.00     22.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     11.00          ANALYZED          24.00     8.00     2.00     2.00     1.00     8.00                                        2.00               "MEAL"."BY_PERSON_NR"=0
    q2     09/11/2005 21:23:49          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     25.00     24.00     1.00     1.00     9,832.00                                             1.00          "MEAL"."MEAL_NR"="WEIGHTED_SET"."MEAL_NR"     
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     1.00          ANALYZED          26.00     4.00     2.00     2.00     1.00     35.00                                        2.00               
    q2     09/11/2005 21:23:49          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     27.00     26.00     1.00     1.00     1.00                                             1.00          "MEAL"."MEAL_NR"="VW_NSO_1"."$nso_col_1"     
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL_DISH_FOOD     2.00          ANALYZED          28.00     3.00     2.00     3.00     2.00     32.00                                        3.00               
    q2     09/11/2005 21:23:49          INDEX     RANGE SCAN          ISHADMIN     MEAL_DISH_FOOD_QX124          NON-UNIQUE     ANALYZED     1.00     29.00     28.00     1.00     2.00     4.00                                             2.00          "MEAL"."MEAL_NR"="MEAL_DISH_FOOD"."MEAL_NR"     
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     DISH     4.00          ANALYZED          30.00     2.00     2.00     1.00     1.00     267.00                                        1.00               
    q2     09/11/2005 21:23:49          INDEX     UNIQUE SCAN          ISHADMIN     DISH_PK          UNIQUE     ANALYZED     1.00     31.00     30.00     1.00          1.00                                                       "DISH"."DISH_NR"="MEAL_DISH_FOOD"."DISH_NR"     
    q2     09/11/2005 21:23:49          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     FOOD     3.00          ANALYZED          32.00     1.00     2.00     2.00     1.00     27.00                                        2.00               
    q2     09/11/2005 21:23:49          INDEX     UNIQUE SCAN          ISHADMIN     FOOD_PK          UNIQUE     ANALYZED     1.00     33.00     32.00     1.00     1.00     1.00                                             1.00          "FOOD"."FOOD_NR"="MEAL_DISH_FOOD"."FOOD_NR"     
    q2     09/11/2005 21:21:46          SELECT STATEMENT                                   CHOOSE          0.00          77.00     77.00     2.00     716.00                                        77.00               
    q2     09/11/2005 21:21:46          NESTED LOOPS                                             1.00     0.00     1.00     77.00     2.00     716.00                                        77.00               
    q2     09/11/2005 21:21:46          NESTED LOOPS                                             2.00     1.00     1.00     73.00     2.00     662.00                                        73.00               
    q2     09/11/2005 21:21:46          NESTED LOOPS                                             3.00     2.00     1.00     71.00     2.00     128.00                                        71.00               
    q2     09/11/2005 21:21:46          NESTED LOOPS                                             4.00     3.00     1.00     68.00     1.00     48.00                                        68.00               
    q2     09/11/2005 21:21:46          VIEW               SYS     VW_NSO_1                         5.00     4.00     1.00     62.00     1.00     13.00                                                       
    q2     09/11/2005 21:21:46          SORT     UNIQUE                                        6.00     5.00     1.00          1.00     21.00                                                       
    q2     09/11/2005 21:21:46          COUNT     STOPKEY                                        7.00     6.00     1.00                                                                      ROWNUM<=5
    q2     09/11/2005 21:21:46          NESTED LOOPS                                             8.00     7.00     1.00     62.00     1.00     21.00                                        62.00               
    q2     09/11/2005 21:21:46          VIEW               ISHADMIN          5.00                    9.00     8.00     1.00     56.00     3.00     39.00                                                       
    q2     09/11/2005 21:21:46          SORT     ORDER BY                                        10.00     9.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/11/2005 21:21:46          FILTER                                             11.00     10.00     1.00                                                                      COUNT("FILTER_SET"."MEAL_NR")=3
    q2     09/11/2005 21:21:46          SORT     GROUP BY                                        12.00     11.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/11/2005 21:21:46          VIEW               ISHADMIN          7.00                    13.00     12.00     1.00     48.00     3.00     78.00                                                       
    q2     09/11/2005 21:21:46          UNION-ALL                                             14.00     13.00     1.00                                                                      
    q2     09/11/2005 21:21:46          SORT     GROUP BY                                        15.00     14.00     1.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     8.00          ANALYZED          16.00     15.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:21:46          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     17.00     16.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:21:46          SORT     GROUP BY                                        18.00     14.00     2.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     9.00          ANALYZED          19.00     18.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:21:46          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     20.00     19.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:21:46          SORT     GROUP BY                                        21.00     14.00     3.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     10.00          ANALYZED          22.00     21.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:21:46          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     23.00     22.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     11.00          ANALYZED          24.00     8.00     2.00     2.00     1.00     8.00                                        2.00               "MEAL"."BY_PERSON_NR"=0
    q2     09/11/2005 21:21:46          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     25.00     24.00     1.00     1.00     9,832.00                                             1.00          "MEAL"."MEAL_NR"="WEIGHTED_SET"."MEAL_NR"     
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     1.00          ANALYZED          26.00     4.00     2.00     2.00     1.00     35.00                                        2.00               
    q2     09/11/2005 21:21:46          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     27.00     26.00     1.00     1.00     1.00                                             1.00          "MEAL"."MEAL_NR"="VW_NSO_1"."$nso_col_1"     
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL_DISH_FOOD     2.00          ANALYZED          28.00     3.00     2.00     3.00     2.00     32.00                                        3.00               
    q2     09/11/2005 21:21:46          INDEX     RANGE SCAN          ISHADMIN     MEAL_DISH_FOOD_QX124          NON-UNIQUE     ANALYZED     1.00     29.00     28.00     1.00     2.00     4.00                                             2.00          "MEAL"."MEAL_NR"="MEAL_DISH_FOOD"."MEAL_NR"     
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     DISH     4.00          ANALYZED          30.00     2.00     2.00     1.00     1.00     267.00                                        1.00               
    q2     09/11/2005 21:21:46          INDEX     UNIQUE SCAN          ISHADMIN     DISH_PK          UNIQUE     ANALYZED     1.00     31.00     30.00     1.00          1.00                                                       "DISH"."DISH_NR"="MEAL_DISH_FOOD"."DISH_NR"     
    q2     09/11/2005 21:21:46          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     FOOD     3.00          ANALYZED          32.00     1.00     2.00     2.00     1.00     27.00                                        2.00               
    q2     09/11/2005 21:21:46          INDEX     UNIQUE SCAN          ISHADMIN     FOOD_PK          UNIQUE     ANALYZED     1.00     33.00     32.00     1.00     1.00     1.00                                             1.00          "FOOD"."FOOD_NR"="MEAL_DISH_FOOD"."FOOD_NR"     
    q2     09/11/2005 21:23:02          SELECT STATEMENT                                   CHOOSE          0.00          77.00     77.00     2.00     716.00                                        77.00               
    q2     09/11/2005 21:23:02          NESTED LOOPS                                             1.00     0.00     1.00     77.00     2.00     716.00                                        77.00               
    q2     09/11/2005 21:23:02          NESTED LOOPS                                             2.00     1.00     1.00     73.00     2.00     662.00                                        73.00               
    q2     09/11/2005 21:23:02          NESTED LOOPS                                             3.00     2.00     1.00     71.00     2.00     128.00                                        71.00               
    q2     09/11/2005 21:23:02          NESTED LOOPS                                             4.00     3.00     1.00     68.00     1.00     48.00                                        68.00               
    q2     09/11/2005 21:23:02          VIEW               SYS     VW_NSO_1                         5.00     4.00     1.00     62.00     1.00     13.00                                                       
    q2     09/11/2005 21:23:02          SORT     UNIQUE                                        6.00     5.00     1.00          1.00     21.00                                                       
    q2     09/11/2005 21:23:02          COUNT     STOPKEY                                        7.00     6.00     1.00                                                                      ROWNUM<=5
    q2     09/11/2005 21:23:02          NESTED LOOPS                                             8.00     7.00     1.00     62.00     1.00     21.00                                        62.00               
    q2     09/11/2005 21:23:02          VIEW               ISHADMIN          5.00                    9.00     8.00     1.00     56.00     3.00     39.00                                                       
    q2     09/11/2005 21:23:02          SORT     ORDER BY                                        10.00     9.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/11/2005 21:23:02          FILTER                                             11.00     10.00     1.00                                                                      COUNT("FILTER_SET"."MEAL_NR")=3
    q2     09/11/2005 21:23:02          SORT     GROUP BY                                        12.00     11.00     1.00     56.00     3.00     78.00                                        56.00               
    q2     09/11/2005 21:23:02          VIEW               ISHADMIN          7.00                    13.00     12.00     1.00     48.00     3.00     78.00                                                       
    q2     09/11/2005 21:23:02          UNION-ALL                                             14.00     13.00     1.00                                                                      
    q2     09/11/2005 21:23:02          SORT     GROUP BY                                        15.00     14.00     1.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     8.00          ANALYZED          16.00     15.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:23:02          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     17.00     16.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:23:02          SORT     GROUP BY                                        18.00     14.00     2.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     9.00          ANALYZED          19.00     18.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:23:02          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     20.00     19.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:23:02          SORT     GROUP BY                                        21.00     14.00     3.00     16.00     1.00     18.00                                        16.00               
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     10.00          ANALYZED          22.00     21.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q2     09/11/2005 21:23:02          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     23.00     22.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     11.00          ANALYZED          24.00     8.00     2.00     2.00     1.00     8.00                                        2.00               "MEAL"."BY_PERSON_NR"=0
    q2     09/11/2005 21:23:02          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     25.00     24.00     1.00     1.00     9,832.00                                             1.00          "MEAL"."MEAL_NR"="WEIGHTED_SET"."MEAL_NR"     
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     1.00          ANALYZED          26.00     4.00     2.00     2.00     1.00     35.00                                        2.00               
    q2     09/11/2005 21:23:02          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     27.00     26.00     1.00     1.00     1.00                                             1.00          "MEAL"."MEAL_NR"="VW_NSO_1"."$nso_col_1"     
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL_DISH_FOOD     2.00          ANALYZED          28.00     3.00     2.00     3.00     2.00     32.00                                        3.00               
    q2     09/11/2005 21:23:02          INDEX     RANGE SCAN          ISHADMIN     MEAL_DISH_FOOD_QX124          NON-UNIQUE     ANALYZED     1.00     29.00     28.00     1.00     2.00     4.00                                             2.00          "MEAL"."MEAL_NR"="MEAL_DISH_FOOD"."MEAL_NR"     
    q2     09/11/2005 21:23:02          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     DISH     4.00          ANALYZED          30.00     2.00     2.00     1.00     1.00     267.00                                        1.00               
    q2     09/11/2005 21:23:02          INDEX     UNIQUE SCAN          ISHADMIN     DISH_PK          UNIQUE     ANALYZED     1.00     31.00     30.00     1.00          1.00                                                       "DISH"."DISH_NR"="MEAL_DISH_FOOD"."DISH_NR"     
    q1     09/05/2005 23:27:29          SELECT STATEMENT                                   CHOOSE          0.00          77.00     77.00     2.00     716.00                                        77.00               
    q1     09/05/2005 23:27:29          NESTED LOOPS                                             1.00     0.00     1.00     77.00     2.00     716.00                                        77.00               
    q1     09/05/2005 23:27:29          NESTED LOOPS                                             2.00     1.00     1.00     73.00     2.00     662.00                                        73.00               
    q1     09/05/2005 23:27:29          NESTED LOOPS                                             3.00     2.00     1.00     71.00     2.00     128.00                                        71.00               
    q1     09/05/2005 23:27:29          NESTED LOOPS                                             4.00     3.00     1.00     68.00     1.00     48.00                                        68.00               
    q1     09/05/2005 23:27:29          VIEW               SYS     VW_NSO_1                         5.00     4.00     1.00     62.00     1.00     13.00                                                       
    q1     09/05/2005 23:27:29          SORT     UNIQUE                                        6.00     5.00     1.00          1.00     21.00                                                       
    q1     09/05/2005 23:27:29          COUNT     STOPKEY                                        7.00     6.00     1.00                                                                      ROWNUM<=5
    q1     09/05/2005 23:27:29          NESTED LOOPS                                             8.00     7.00     1.00     62.00     1.00     21.00                                        62.00               
    q1     09/05/2005 23:27:29          VIEW               ISHADMIN          5.00                    9.00     8.00     1.00     56.00     3.00     39.00                                                       
    q1     09/05/2005 23:27:29          SORT     ORDER BY                                        10.00     9.00     1.00     56.00     3.00     78.00                                        56.00               
    q1     09/05/2005 23:27:29          FILTER                                             11.00     10.00     1.00                                                                      COUNT("FILTER_SET"."MEAL_NR")=3
    q1     09/05/2005 23:27:29          SORT     GROUP BY                                        12.00     11.00     1.00     56.00     3.00     78.00                                        56.00               
    q1     09/05/2005 23:27:29          VIEW               ISHADMIN          7.00                    13.00     12.00     1.00     48.00     3.00     78.00                                                       
    q1     09/05/2005 23:27:29          UNION-ALL                                             14.00     13.00     1.00                                                                      
    q1     09/05/2005 23:27:29          SORT     GROUP BY                                        15.00     14.00     1.00     16.00     1.00     18.00                                        16.00               
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     8.00          ANALYZED          16.00     15.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q1     09/05/2005 23:27:29          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     17.00     16.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q1     09/05/2005 23:27:29          SORT     GROUP BY                                        18.00     14.00     2.00     16.00     1.00     18.00                                        16.00               
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     9.00          ANALYZED          19.00     18.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q1     09/05/2005 23:27:29          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     20.00     19.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q1     09/05/2005 23:27:29          SORT     GROUP BY                                        21.00     14.00     3.00     16.00     1.00     18.00                                        16.00               
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     10.00          ANALYZED          22.00     21.00     1.00     12.00     1.00     18.00                                        12.00               "MEAL"."MEAL_TYPE_CODE"='LU' AND "MEAL"."DIETARY_RESTRICTION_NR"=4 AND "MEAL"."IS_CUSTOM"='N' AND "MEAL"."IS_DELETED"='N' AND "MEAL"."PREPARATION_TYPE_CODE"='H'
    q1     09/05/2005 23:27:29          INDEX     RANGE SCAN          ISHADMIN     MEAL_QX18          NON-UNIQUE     ANALYZED     1.00     23.00     22.00     1.00     3.00     15.00                                             3.00          "MEAL"."BY_PERSON_NR"=0     
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     11.00          ANALYZED          24.00     8.00     2.00     2.00     1.00     8.00                                        2.00               "MEAL"."BY_PERSON_NR"=0
    q1     09/05/2005 23:27:29          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     25.00     24.00     1.00     1.00     9,832.00                                             1.00          "MEAL"."MEAL_NR"="WEIGHTED_SET"."MEAL_NR"     
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL     1.00          ANALYZED          26.00     4.00     2.00     2.00     1.00     35.00                                        2.00               
    q1     09/05/2005 23:27:29          INDEX     UNIQUE SCAN          ISHADMIN     MEAL_PK          UNIQUE     ANALYZED     1.00     27.00     26.00     1.00     1.00     1.00                                             1.00          "MEAL"."MEAL_NR"="VW_NSO_1"."$nso_col_1"     
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     MEAL_DISH_FOOD     2.00          ANALYZED          28.00     3.00     2.00     3.00     2.00     32.00                                        3.00               
    q1     09/05/2005 23:27:29          INDEX     RANGE SCAN          ISHADMIN     MEAL_DISH_FOOD_QX124          NON-UNIQUE     ANALYZED     1.00     29.00     28.00     1.00     2.00     4.00                                             2.00          "MEAL"."MEAL_NR"="MEAL_DISH_FOOD"."MEAL_NR"     
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     DISH     4.00          ANALYZED          30.00     2.00     2.00     1.00     1.00     267.00                                        1.00               
    q1     09/05/2005 23:27:29          INDEX     UNIQUE SCAN          ISHADMIN     DISH_PK          UNIQUE     ANALYZED     1.00     31.00     30.00     1.00          1.00                                                       "DISH"."DISH_NR"="MEAL_DISH_FOOD"."DISH_NR"     
    q1     09/05/2005 23:27:29          TABLE ACCESS     BY INDEX ROWID          ISHADMIN     FOOD     3.00          ANALYZED          32.00     1.00     2.00     2.00     1.00     27.00                                 

  • Getting error when creating worklists for FSCM - Collections management

    Hi All,
    I am trying to implement FSCM - Collections Management and after all the configuration in SPRO and periodic processing in SAP easy access for transferring Accounts recievable, when I try to create Worklist i get the below error "No BP rules with BP role category UDM000 exists for partner 200"
    I have created and assigned the BP role category UDM000 to my BP rule, yet i get this error. Is there anyway I can check the assignment of the rule.
    Please help me with your thoughts in getting this error fixed.
    Thanks & Regards,
    Ameet

    That's fine deep will take care
    Ameet my final options are
    1.As deep said check the validity of the BP @ BUT 100
    2.Check your config settings one again completly
      Cross-app components>master data sync>Synchronization control (check all the settings).
       Cross-app components>master data sync>customer /vendor integration>bp settings>settings for cust int -->define BP role for direction cust to BP(check you have assigned the group to the role).
    Cross-app components>master data sync>customer /vendor integration>bp settings>settings for cust int -->field assign for cust int >assign keys>define number assign from cust to bp (here check for the bp and cust group and same no fields).
    3.If you are running the the worklist gen by batch please check for the overlaps and the sufficient no of jobs available for processing.
    4.If your you are using ECC 6.3 or lesser version then apply the note 1134890
    5. The error may be mis-leading because the program always through the same error if there may be some other issues - so debug the pgm
    6. If every thing is fine above then write to SAP
    Thank you.
    Regards,
    D vasanth

  • Getting to know used memory without garbage collectable objects

    Hi all,
    I would like to know what is the currently used memory without garbage, so only the objects that are still referenced.
    Is there a way to do that? Preferably using JConsole?
    Thanks,
    Kristof

    That is indeed a way but the problem is that you are never sure that all garbage will get collected... (JConsole indeed has a Force GC button)
    I suspect that the JVM only knows the amount of garbage when it performs a GC. And as this is an expensive operation is would not be effective from a performance point of view to constantly keep track of the amount of garbage in the heap. That is probably also the reason why there is no profiler that supports this.
    It makes it difficult to get to know the actual memory gain from one implementation versus another. The most reliable way to go I think is by running the application several times, lowering the max heap each time till it fails with OutOfMemoryException.

  • Connecting with company is getting slower and slower.

    Hi. we are experiencing a problem with our sdk program. We have about 15 machines connected with 6 different users using our sdk program. The first day everyone logs on in 10 seconds, but as the day passes they start getting slower when connecting to the company. Maybe about 2 or 3 days later we will need to reboot the server so they can start working again. A note on the side, this only affects our sdk development. SapBusinessOne.exe can successfully connecdt to the company at the 3rd day when the progam cant. Iam not calling the disconect company when the program exists, I thought the .net crl would take care of that.. dont know if this could be the problem?
    We are using SapBusiness 2007 patch 48
    Thank you.
    Jose.

    Sorry its in DI, this is the code i use to connect to the company and where it takes alot of time to call.
    the Company object I pass is simply a _oCompany = new Company(). the server is in the form of "10.0.0.14"
    How to I release ComObjects? with dispose?
    Thanks
    public static string Connect(Company _oCompany, string _sServer, string _sCompanyDB, string _sDBUser, string _sDBPassword, string _sUser, string _sPassword) {
                oCompany.DbServerType = BoDataServerTypes.dstMSSQL2005;
                _oCompany.CompanyDB = _sCompanyDB;
                _oCompany.Server = _sServer;
                _oCompany.DbUserName = _sDBUser;
                _oCompany.DbPassword = _sDBPassword;
                _oCompany.UserName = _sUser;
                _oCompany.Password = _sPassword;
                if (_oCompany.Connect() != 0) {
                    return GetLastError(_oCompany);
                else {
                    return "";

  • When does garbage collection occur?

    Answer the question!
    thanks

    Sometime after a objects become unreachable and before the memory allocator runs out of memory, the garbage collector will run. You have no way of controlling or knowing when that will be. There is no reason to.
    For some reason, even though many programming languages have garbage collection, people seem to regard Java's garbage collection as something they need to "understand" and control. Garbage collection is best left up to the garbage collector -- that's its job, and just let it work.

  • Garbage collection and closure

    I am running a remote script from bridge that opens a complex dialog in photoshop. I need to run the dialog in photoshop because it displays fonts, styles and actions, which are not available in bridge.
    When I close the dialog I return to my bridge script. If I repeated open the remote script with the complex dialog I continue to use up resources and the dialog opens more slowly each time.
    If I run the remote script directly from the ESTK I still lose reources and it slows down, but not as significantly as when run as a remote script via bridgetalk.
    I think this is caused by inner functions in my dialog, which are creating closures, which in turn are preventing garbage collection.
    Has anyone experienced this and do you have any tips to prevent the performance degradation?

    Rory,
    I've never seen that before. In PS, the script that displays the dialog executes, then the engine that ran it supposed to be destroyed. Should be no need for garbage collection. Running the script directly in ESTK still uses BridgeTalk, so I would expect little difference.
    I'd be curious to know what's happening because each time you run the script, it should be using a fresh scripting engine in PS. Perhaps there's something preventing PS from releasing the engine when BridgeTalk is involved. It that's the case, it would be a bug.
    I do have a suggestion - instead of switching to PS, why not ask PS to give you lists of fonts, styles, and actions? You could write a script that put all three into a an array:
    // up here create the arrays
    var a = new Array();
    a[0] = fontArray;
    a[1] = styleArray;
    a[2] = actionArray;
    a.toSource();
    eval'ing the message body in the onResult handler would give you all the info you needed to show your dialog in Bridge. Both Bridge and PS use scriptUI, so the dialog you have written should work in either (once you get the information necessary to display it in Bridge).

  • Long pauses during ParNew garbage collection Please Help !

    Hi,
    We are running a server application on an large machine (~120 CPU, ~380 GB Memory).
    After running 1 or 2 hours we suddenly get exorbitant application pause times during garbage collection and a massive cpu usage from the java vm
    We are running on Java 6 (64Bit) with 6GB Heap.
    Concurrent garbage collection is turned on using the parameters:
    -XX:+UseConcMarkSweepGC
    -XX:+CMSParallelRemarkEnabled
    -XX:CMSInitiatingOccupancyFraction=80
    -XX:+DisableExplicitGC
    We turned on verbose garbage collection and are getting the following output:
    1. Normal operation:
    Application time: 217.4656792 seconds
    3180.905: [GC 3180.906: [ParNew
    Desired survivor size 20119552 bytes, new threshold 4 (max 4)
    - age   1:    2843824 bytes,    2843824 total
    - age   2:    2577128 bytes,    5420952 total
    - age   3:    5742024 bytes,   11162976 total
    - age   4:     625672 bytes,   11788648 total
    : 329531K->15764K(353920K), 0.1484379 secs] 2435799K->2122105K(3392144K), 0.1492386 secs]
    Total time for which application threads were stopped: 0.1886810 seconds
    2. The Problem:
    Application time: 2.8858445 seconds
    5008.433: [GC 5008.434: [ParNew
    Desired survivor size 20119552 bytes, new threshold 2 (max 4)
    - age   1:   15837712 bytes,   15837712 total
    - age   2:   12284416 bytes,   28122128 total
    : 348338K->39296K(353920K), 138.5317715 secs] 2487779K->2192551K(3392144K), 138.5327383 secs]
    Total time for which application threads were stopped: 138.5778558 seconds
    Application time: 2.9764564 seconds
    5149.957: [GC 5149.957: [ParNew
    Desired survivor size 20119552 bytes, new threshold 2 (max 4)
    - age   1:    9483176 bytes,    9483176 total
    - age   2:   14499344 bytes,   23982520 total
    : 353920K->39296K(353920K), 231.5110574 secs] 2507175K->2204546K(3392144K), 231.5121011 secs]
    Total time for which application threads were stopped: 231.5257754 seconds
    Application time: 2.7932907 seconds
    5384.277: [GC 5384.278: [ParNew
    Desired survivor size 20119552 bytes, new threshold 4 (max 4)
    - age   1:   10756376 bytes,   10756376 total
    - age   2:    9135888 bytes,   19892264 total
    : 353920K->28449K(353920K), 256.2065591 secs] 2519170K->2207651K(3392144K), 256.2076388 secs]
    Total time for which application threads were stopped: 256.2221463 seconds
    I can't find any significant differences in the log between fast and long running garbage collections.
    I urgently need help in solving this problem !
    What can I do ?

    After the exciting reply I did get on my question, we did some more investigations on the problem and it seems that we finally found the solution to our problem.
    The number of garbage collection threads used by the virtual machine defaults to the number of cpus of the machine.
    This is ok for small machines or machines where the main load is produced by the java application itself.
    In our environment the main load is not produced by the java application but oracle database processes.
    When java tries to do it's garbage collection using 120 threads (# CPU) on the machine which is already overloaded by non java processes, the thread synchronization seems to produce an exorbitant overhead.
    My theory is that spin locking is used on memory access, causing threads to spin while waiting for other blocking threads not getting cpu because of the heavy load on the system.
    The solution is now to limit the number of garbage collection threads.
    We did that on the first try by setting -XX:ParallelGCThreads=8
    For over one day with heavy load no long GC pauses were experienced any more.

  • Garbage Collection Mysteries

    I have an application that consumes huge amounts of heap at time, on the order of 100 MB. I added some code to call System.gc() when I dispose of the window that is responsible for making such huge allocations. My understanding is that System.gc() is supposed to do a full garbage collection, but when I am watching the heap in the Eclipse profiler it does not seem to reclaim very much. In almost ever case, when I click the garbage collect button in the profiler it seems to do a much better job of collecting a lot.
    What is the difference between explicitly invoking the garbage collector from the Eclipse profiler and calling System.gc() in code when the window is disposed?
    How can I get my code to automatically make the garbage collector work so well?
    Cheers, Eric

    jschell wrote:
    Might note however that calling gc() is unlikely to do anything to make your application better.Ain't it the truth. In fact it may even make it worse. Sane applications should not need manual GC calls - the runtime does what it is supposed to do itself and if it doesn't you should investigate and fix the problem that is preventing it from doing what it is supposed to do. First making sure that there is in fact an issue of course, perhaps the app simply needs 100mb of heap space at some point in the lifetime of your application. It isn't exactly a HUGE amount of memory, especially in a Java or .NET VM environment.

Maybe you are looking for