How to free up memory while running?

Hello,
i´m using a custom OPUI written in LV.
In there i start TestStand 3.5.
The model of Teststand then starts two parallel-sequences (as "New Execution" that are loaded in Sequence-File-Load and looping all the time.
One parallel-sequence checks the buttons of the OPUI and the other parallel-sequence is controling a climatic chamber. When a special temperature is reched then it executes "Test UUT" of the model-sequence (also as "New Execution").
Everything works fine but someone is eating memory. Everytime when a Test UUT is done the memory goes up. And after it is finished the memory is not released.
So my question is: How can i free up unused memory (like garbage collector) in teststand, or in LV if there is a special action needed.
Or perhaps the teststep-results are not removed? So that i create 100s of new executions and they all keep the results?
I already clicked on "Disable result recording for all steps" in the two parallel-sequences and in all steps in the model. So that i think that only the Mainsequence Callback is creating results.
Has someone any ideas what i can do?
Thanks for everything

If you have result collection disabled for all of your steps then the memory leak is likely due to something else. You might not be closing a reference that you should be. Try to narrow down which part(s) of your sequence are leaking the memory by either stepping through things one step at a time and looking at memory usage or perhaps by cutting out parts of your sequence until the problem goes away. Also, if it's not your sequence then it might be your custom UI that is leaking the memory, to determine this, try running your sequence in the sequence editor and/or one of the UIs that ship with TestStand and see if the problem goes away.
Hope this helps,
-Doug

Similar Messages

  • How to free up memory in MacBook Pro?

    How to free up memory in MacBook Pro? (How to avoid getting the revolving rainbow?)

    I compressed some programs and data. I now have 4.56 GB free.
    SMART UTILITY http://www.volitans-software.com/smart_utility.php
    CAPACITY 80.0 GB
    SMART STATUS: YELLOW and "FAILING"
    "Removed 29 bad sectors
    Total errors 1708
    Reallocated 308 bad sectors"
    Do I need to buy Smart Utility?
    Had 5 simultaneous errors at READ DMA EXT. (I don't know what that means). I don't see all the windows that the web site shows. I guess that is for purchased downloads.
    I'd like to reinstate MobileMe's Backup function. Apple says it will work until June so that I could back that up until I get the backup hard drive. I was in the store last week; iCloud will not work on my computer.
    Thanks, DOTro

  • How to free  up memory to play game ?

    I recently tried to install a game via dvd, but then got the message that I had "0 mb...and need to free up memory" to play the game
    yet I have recenty added memory and have over 500 mb available, according to the system.
    do I need to drag the game icons to the hard drive? seems like I have enough memory, but when the game file appears it says " 0 mb" at the top of the file. or do they mean Ram?
    I am a first-time mac user, love the forum, and would appreciate any suggestions
    thanks to all

    The game likely needs to be installed from the DVD onto your iBook's hard drive. Obviously, you will need to check the specs of the game to see how much space is recommended by the game maker for the game to run and run efficiently.
    500 megabytes likely isn't enough to run a game. This is the space on your iBook's hard drive, correct, and not the disc itself?
    -Ryan

  • How To Free Up Memory (RAM) N95(ninety-five)

    Does anyone have a sugestion on how to free up some ram, apart from closing running aps?

    Ngage and music store will only eat RAM you cannot say that to increase efficiency to memory management. Features are always here to eat RAM:d
    Right now, I guess the demand paging application will DEFINITELY be a good solution to increase RAM. I hope existing N95-1 will get this.
    Besides, my lil advice always clear the cache of the web browser and use a task manager that will monitor the currently running apps in background.

  • Out of Memory while running report

    Hi All,
    DB Version :- 10.1.0.5.0
    Our applications is used to genrate reports, where one report has limitations on the date range. This was due to 'out of memory' error which occured before and it was taking huge time to complete before. Now we have tune the SQL and its completeing in mins (performance increased by 80%) :-)
    Now we wanted to remove the 10 year limit and run for past 30 years data. when we reomve limitation it throws the below error message.
    "when others Error ORA-04030: out of process memory when trying to allocate 1872664 bytes (PLS non-lib hp,DARWIN) with query in ....package" .
    While running the report i asked DBA to check the usage and he mentioned that its at peak. Only one report using 42 GB of RAM.
    Can anyone provide me how to tackle the issue/start investigation to conclude the reason for the issue.
    When the report runs there some dynamic SQL's generated and report is completed.
    Regards,
    Sunny

    Hi All,
    DB Version :- 10.1.0.5.0
    I got the dynamic SQL's and from those found that this piece of SQL is taking huge time. It takes around 15 mins to complete.
    Below is the SQL
    SELECT
    X.TIME_PERIOD EXPOSURE_PERIOD, Y.TIME_PERIOD EVALUATION_PERIOD,b.BUSINESS_UNIT,
    decode(GROUPING(LOB_VALUE),1,'SEL',LOB_VALUE) BUSINESS_UNIT_LOB_ID_ACT,
    0 CALC_VALUE
    FROM
    ACTUARIAL_REF_DATA.TIME_PERIOD_HIERARCHY X, ACTUARIAL_REF_DATA.TIME_PERIOD_HIERARCHY Y,
    ANALYSIS_BUSINESS_UNITS B, ANALYSIS_LOBS L
    WHERE
    B.ANALYSIS_ID = L.ANALYSIS_ID
    AND X.TIME_PERIOD BETWEEN TO_NUMBER('198001') AND TO_NUMBER('201006')
    AND Y.TIME_PERIOD BETWEEN TO_NUMBER('198001') AND TO_NUMBER('201006')
    AND b.BUSINESS_UNIT='31003'
    AND LOB_VALUE IN (SELECT TO_NUMBER(LOB_VALUE) FROM ANALYSIS_LOBS WHERE ANALYSIS_ID=TO_NUMBER('3979'))
    GROUP BY X.TIME_PERIOD, Y.TIME_PERIOD,BUSINESS_UNIT,CUBE(LOB_VALUE)
    PLAN_TABLE_OUTPUT
    Plan hash value: 929111431
    | Id  | Operation                    | Name                       | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |                            |    26M|   996M|       |   203K  (3)| 00:47:35 |
    |   1 |  SORT GROUP BY               |                            |    26M|   996M|       |   203K  (3)| 00:47:35 |
    |   2 |   GENERATE CUBE              |                            |    26M|   996M|       |   203K  (3)| 00:47:35 |
    |   3 |    SORT GROUP BY             |                            |    26M|   996M|  2868M|   203K  (3)| 00:47:35 |
    |*  4 |     HASH JOIN                |                            |    35M|  1324M|       |  6694  (17)| 00:01:34 |
    |*  5 |      INDEX RANGE SCAN        | ANALYSIS_LOBS_PK           |    48 |   480 |       |     2   (0)| 00:00:01 |
    |*  6 |      HASH JOIN               |                            |   148M|  4097M|       |  5619   (1)| 00:01:19 |
    |   7 |       TABLE ACCESS FULL      | ANALYSIS_LOBS              | 24264 |   236K|       |    12   (0)| 00:00:01 |
    |   8 |       MERGE JOIN CARTESIAN   |                            |  3068K|    55M|       |  5584   (1)| 00:01:19 |
    |   9 |        MERGE JOIN CARTESIAN  |                            |  8401 |   114K|       |    20   (0)| 00:00:01 |
    |* 10 |         INDEX FAST FULL SCAN | ANALYSIS_BUSINESS_UNITS_PK |    23 |   207 |       |     3   (0)| 00:00:01 |
    |  11 |         BUFFER SORT          |                            |   365 |  1825 |       |    17   (0)| 00:00:01 |
    |* 12 |          INDEX FAST FULL SCAN| TIME_PERIOD_HIERARCHY_PK   |   365 |  1825 |       |     1   (0)| 00:00:01 |
    |  13 |        BUFFER SORT           |                            |   365 |  1825 |       |  5583   (1)| 00:01:19 |
    |* 14 |         INDEX FAST FULL SCAN | TIME_PERIOD_HIERARCHY_PK   |   365 |  1825 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - access(TO_NUMBER("LOB_VALUE")=TO_NUMBER("LOB_VALUE"))
       5 - access("ANALYSIS_ID"=3979)
       6 - access("B"."ANALYSIS_ID"="L"."ANALYSIS_ID")
      10 - filter("B"."BUSINESS_UNIT"='31003')
      12 - filter("X"."TIME_PERIOD">=198001 AND "X"."TIME_PERIOD"<=201006)
      14 - filter("Y"."TIME_PERIOD">=198001 AND "Y"."TIME_PERIOD"<=201006)
    no.of rows returing :- 58404816
    Desc of the tables
    TABLE TIME_PERIOD_HIERARCHY
      TIME_PERIOD        NUMBER(6),
      QUARTER_DESC       VARCHAR2(6 CHAR),
      QUARTER_START      NUMBER(6),
      QUARTER_END        NUMBER(6),
      SEMI_ANNUAL_DESC   VARCHAR2(12 CHAR),
      SEMI_ANNUAL_START  NUMBER(6),
      SEMI_ANNUAL_END    NUMBER(6),
      YEAR               NUMBER(4),
      YEAR_START         NUMBER(6),
      YEAR_END           NUMBER(6)
    TABLE ANALYSIS_LOBS
      ANALYSIS_ID  NUMBER(10),
      LOB_TYPE_ID  NUMBER(1),
      LOB_VALUE    VARCHAR2(7 CHAR)
    TABLE ANALYSIS_BUSINESS_UNITS
      ANALYSIS_ID    NUMBER(10),
      BUSINESS_UNIT  VARCHAR2(5 CHAR)
    )Kindly let me know if there is any point where we can improve the performance.
    Regards,
    Sunny
    Edited by: k_17 on Nov 22, 2011 2:47 PM

  • How to free allocated memory

    As we all know in java the memory allocated for an object is freed automatically when there is no reference for that object exist. and there is no operator in java to free the memory explicitly like delete() in c++.
    But i want to free the memory allocated for the object in java for my project.
    but i dont know how to do this.
    Any idea abt this?

    ghanoz2480 wrote:
    emmmh,,,see the following documentation:
    [http://java.sun.com/javase/6/docs/api/java/lang/System.html#gc()|http://java.sun.com/javase/6/docs/api/java/lang/System.html#gc()]
    Edited by: ghanoz2480 on 10 Mei 09 6:58From your link:
    "Calling the gc method *_suggests_* that the Java Virtual Machine expend effort toward recycling unused objects in order to make the memory they currently occupy available for quick reuse. When control returns from the method call, the Java Virtual Machine has made a best effort to reclaim space from all discarded objects. "
    That does not guarantee that the gc will be run.
    As the OP has already said, and as Jos has already highlighted - what the OP wants to do cannot be done in java.

  • How to Free Up Memory Allocated by Kernel without reboot

    Hi
    In one of the Production Server we are facing issue in which server is up for last 365 days.
    While checking we found that kernel memory utilization is itself 64 %.
    I want solution by which we can free up Memory used by kernel which should be normally 12-15 %.
    I am aware about that rebooting the server will resolve the issue.
    echo ::memstat | mdb -k
    >
    Page Summary Pages MB %Tot
    Kernel 166378 1299 64%
    Anon 38042 297 15%
    Exec and libs 1161 9 0%
    Page cache 39329 307 15%
    Free (cachelist) 12152 94 5%
    Free (freelist) 1326 10 1%
    Total 258388 2018
    Physical 254514 1988Please suggest.
    Thanks
    Rajan

    hi
    see this URL and alternatively you can add temp SWAP
    http://developers.sun.com/solaris/articles/solaris_memory.html

  • AddOn Takes Much Memory While Running

    Hello Experts,
    I have created an addon on Subcontracting Module .Its Works fine but while running the addon and working with the addon
    system is taking huge memory space which makes the addon performance pretty slow.
    I want to cut down the memory usage for the addon while running for that what i have to incorporate in my code.
    Thanks
    Amit

    Hello Vitor,
    Suppose i am using a method as below :-
    oMatrix = oSalesOrder.Items.Item("38").Specific
    Dim Item_Cd As String = oMatrix.Columns.Item("1").Cells.Item(pval.Row).Specific.value
    Dim L As Integer = pval.Row
    Dim Record_Tax As SAPbobsCOM.Recordset = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
    Record_Tax.DoQuery("Select VatGourpSa , ItemType From OITM Where ItemCode='" & Item_Cd & "' ")
                If Record_Tax.Fields.Item("VatGourpSa").Value = "WET" Then
                    Dim Gross_Total As String = oMatrix.Columns.Item("288").Cells.Item(pval.Row).Specific.value
                    oMatrix.Columns.Item("1").Cells.Item(L + 1).Specific.value = "GST on WET Tax"
                    oMatrix.Columns.Item("14").Cells.Item(L + 1).Specific.value = Gross_Total
                    oMatrix.Columns.Item("2007").Editable = True
                    ocheck = Class_JFC_Main.oMatrix.Columns.Item("2007").Cells.Item(L + 1).Specific
                    ocheck.Checked = True
                    oMatrix.Columns.Item("1").Cells.Item(L + 1 + 1).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
                    oMatrix.Columns.Item("2007").Editable = False
    End if
    '---=====
    After the execution of this method i have to use the code
    System.Runtime.InteropServices.Marshal.ReleaseComObject(Record_Tax)
    Thanks
    Amit

  • How can one use the physical memory of our system rather than virtual memory while running Labview?

    We have a Windows NT system with 2 Gb of physical memory and would like to utilize the RAM fully using Labview. What usually occurs is that Labview uses a tremendous amount of page file space while a majority of the physical memory is unused. Is there a way to configure Labview (or our system) to overcome this problem? It seems that our processes would be much faster if they were mainly using the physical memory. Is it possible to trick the system, by creating a RAM disk and allocating this as virtual memory space?

    > We have a Windows NT system with 2 Gb of physical memory and would
    > like to utilize the RAM fully using Labview. What usually occurs is
    > that Labview uses a tremendous amount of page file space while a
    > majority of the physical memory is unused. Is there a way to
    > configure Labview (or our system) to overcome this problem? It seems
    > that our processes would be much faster if they were mainly using the
    > physical memory. Is it possible to trick the system, by creating a
    > RAM disk and allocating this as virtual memory space?
    LabVIEW the application doesn't know anything about physical versus
    virtual memory. LV asks the OS for general purpose memory and goes
    from there.
    Drivers like DAQ and IMAQ will have a combination of general user
    memory and page lo
    cked physical buffers.
    I'm not up on the details, but this is something that the OS is in
    control of, so that is where you need to look for the solution. One
    of the things to look at is the disk cache. By default, I think that
    NT takes a percentage of the RAM to use for disk cache. With that
    much RAM, this is probably unnecessary and is using too much.
    Similarly, the OS may be attempting to keep the working set size
    to a fraction of the total RAM to reserve space for other things.
    It doesn't make sense to me, but then I don't work for MS.
    Greg McKaskle

  • How to free phone memory in n95 8gb

    Newbie here, My device is n95 8gb. Upon scanning memory n then phone memory details shows that "88 mb" space is used by message, even the inbox having 4-5 messages and 15 message in self created folder n all are simply text message, no mms no email no attachments etc. As earlier i hav told my problem is 88 mb memory encroached by message only. While i set in message settings to use mass memory for "memory in use" option the day i bought the phone. Remembering one thing that from day 1 phone shows 88 mb memory used by message upon scanning. Why and how ?? i can not understand till now. I hav deleted all message from inbox, sent, drafts etc even deleted mailbox but of no use to 88. Please Please Please Please Someone help me i just want to get rid off this 88 mb n frequent message of "Low phone memory close / delete some app first" Sorry for writing such a long post but actually i think giving proper history and condition may help u people to finally help me out. So why message hav that much used memory and how can i free up some mb

    you can back up your stuff by either downloading nokia pc suite or ovi suite 
     http://europe.nokia.com/get-support-and-software/download-software/nokia-pc-suites\
     yes you can backup on your memory card, cards do get corrupt sometimes. once you back up via pc suite or ovi do as GS had suggested in the above mentioned post. 
    yes the *#7370# formats only phone memory   
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • How to Free Up Memory Away from Computer

    I'm on the road and there is an album I want to download from iTunes onto my iPhone. There is not enough room on my phone and I need to delete some videos from my phone. How do I do this without having access to my computer?
    Any other ideas would help. If I deleted enough aps, would that do it? Or, does that free up all that much memory?

    Page 68 of the manual:
    "Delete a video: In the videos list, swipe left or right over the video, then tap Delete. "
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • How to free the memory after closing JavaFX Stage?

    I am creating a JavaFx application which contain a button. When I click on that button, it opens a new stage containing a table with thousands of data. It's working fine. But the problem is, when I close the Stage of that table, memory is not getting free by the application i.e. everytime when I open the new stage for table then memory is get increased. Is there any issue with JavaFX? or I have to do something else?
    I have tried to set everything null at the time of closing of that stage but still memory is not getting free.
    My button click code is :
    btn.setOnAction(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent event) {
                    Stage stage = new Stage();
                    Table1Controller controller = (Table1Controller) Utility.replaceScene("/tablesample/Table1.fxml", stage);
                    controller.init(stage);
                    stage.setTitle("Sample");
                    stage.setWidth(583.0);
                    stage.setHeight(485.0);
                    stage.initModality(Modality.APPLICATION_MODAL);
                    InputStream in = TableSample.class.getResourceAsStream("icon_small.png");
                    try {
                        stage.getIcons().add(new Image(in));
                    } finally {
                        try {
                            in.close();
                        } catch (IOException ex) {
                    stage.show();
    Utility.replacescene method : It loads the scene from given fxml and set to stage. At final It return controller object for that scene.
    public static Initializable replaceScene(String fXml, Stage mystage) {
            InputStream in = null;
            try {
                FXMLLoader loader = new FXMLLoader();
                in = Utility.class.getResourceAsStream(fXml);
                loader.setLocation(Utility.class.getResource(fXml));
                loader.setBuilderFactory(new JavaFXBuilderFactory());
                AnchorPane page;
                try {
                    page = (AnchorPane) loader.load(in);
                } finally {
                    in.close();
                Scene scene = new Scene(page);
                mystage.setScene(scene);
                return loader.getController();
            } catch (Exception ex) {
                return null;
        }Thanks

    Is there any issue with JavaFX? or I have to do something else?It's likely an issue with your application code (though it could be a bug in the JavaFX platform too).
    Either way debugging most memory issues in JavaFX (except for ones the graphics card texture related) is the same as debugging them in Java - so just use standard Java profiling tools to try to track down any memory leaks you have.
    Such work is as much an art as a science and takes some experience to get right, so grab your detective cap, download and use the tools linked and try and track it down:
    http://stackoverflow.com/questions/6470651/creating-a-memory-leak-with-java
    http://resources.ej-technologies.com/jprofiler/help/doc/indexRedirect.html?http&&&resources.ej-technologies.com/jprofiler/help/doc/helptopics/memory/memoryLeak.html
    http://www.ej-technologies.com/products/jprofiler/overview.html (recommended tool).
    http://visualvm.java.net/
    http://netbeans.org/kb/articles/nb-profiler-uncoveringleaks_pt1.html
    http://www.ibm.com/developerworks/library/j-leaks/ (this link is really old and somewhat outdated but explains some of the underlying concepts better than some newer articles I found).

  • How Many Threads inside JVm while running

    Hi,
    how many threads will be there in jvm of 1.4 or higher sdk? threads i mean it includes all jvm threads also.

    How do you identify these threads?
    I can see 8 threads in my 1.5 java process (just running a main) using windows XP task manager, but when I check how many threads there are from within the code, it only looks like 4:
    java.lang.ThreadGroup[name=system,maxpri=10]
    Thread[Reference Handler,10,system]
    Thread[Finalizer,8,system]
    Thread[Signal Dispatcher,9,system]
    java.lang.ThreadGroup[name=main,maxpri=10]
    Thread[main,5,main]
    For example, using
    Thread.currentThread().getThreadGroup().getParent().list();

  • How to free up memory leak?

    Hi Friends,
    DB = Oracle 10g
    Apps=EBS R12
    OS = Linux RHEL 4
    My server physical RAM is 4Gb.
    At fresh reboot the Memory consumption is 80M only.
    When I started DB is goes up to 800Mb memory usage.
    When I started Apps is goes up to 2Gb.
    But when I shutdown DB and Apps I am expecting is will go back to 80M.
    but still the 2Gb is used.
    When I startup DB and Apps again the usage goes up to 4Gb.
    How do I resolve this please :(
    What is command in Linux that will list all memory usage per module/apps sorted memory size ?
    Thanks a lot

    have a look at this thread:
    tuning Linux semaphores

  • How To Free Up Memory On iPhone 6

    Two questions:
    1. On this screenshot, it shows that I have 2.25 GB (1119 photos), but I really only have 28 photos on my phone right now. How do I know where the rest of the 1,000+ photos are, because I have not synced any from my iPhoto or elsewhere to this phone? I have not used my iCloud at all, so nothing is synced there as well. I would like to free up some space because I really do not have that many pictures on my phone.
    2. Does anyone know what goes on "Other"? It's not the music, apps, ibooks, tv shows, podcasts, movies, etc. It's 3.72 GB of space that I would like to manage as well.
    Appreciate any help. Thank you!

    Ah, the infamous "Other"… This may help: http://www.bidnessetc.com/30012-how-to-clear-up-other-storage-on-your-apple-ipho ne-or-ipad/1/

Maybe you are looking for