How to minimize the use of memory ?

I have problems with a memory leak in my JSP file. I'm not sure, of course,it is in there, it could also be something in Internet explorer (5.5). If I let the explorer open for 12 hours IEXPLORER.EXE is using almost 150 MB of my memory.
I need to refresh my screen every 30 seconds and it is open all the time. Every 30 seconds I get a new vector with 20 records (objects) from the servlet. Do I need to set the vector to null after using them or are there some tricks/hints I can perform to reduce the use of memory ???

yes, set the vector to null. Although if IE is eating up the memory, then it has nothing to do with your JSP.

Similar Messages

  • How to remove the Object from memory.

    Hello.
    Flash file that i made with Flex Builder uses memory too
    much.
    Look at the next example source code.
    var testCan:Canvas = new Canvas();
    this.addChild(testCan);
    this.removeChild(testCan);
    testCan = null;
    but just memory usage still goes up, is not freed instantly.
    so if i load the large flash files on my web browser,
    after 5 munites or something, the web browser is down.
    How to remove the object from memory immediately without
    delay?

    It's all about the Garbage Collector ..
    There is a nice write up here :
    http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html

  • Pdf file is too big (7MB). Need a pdf file with max size 4MB. How to minimize the size of a pdf file?

    pdf file is too big (7MB). Need a pdf file with max size 4MB. How to minimize the size of a pdf file?

    The other alternative is the Save As Other>Reduce File Size. The PDF Optimizer gives you more control. You might also use the audit feature in the PDF Optimizer to see where the size problem is coming from. You might find that in the WORD file you can select and image and then go to the FORMAT (pictures) menu and select compress for all of the bitmaps in the file. That will typically use 150 dpi by default that is adequate for most needs.

  • HOW TO CHANGE THE USEFUL LIFE FOR MORE ASSETS AT A TIME FOR ASSET CLASS

    Hi All,
    Asset which is under Asset Class Support system-B700. Here every thing is ok but the problem in USE FULL LIFE which is come by default. It must be 4 instead of  5.   So can any body help me out from this how to change the Useful life in that Asset class.  In that Asset Class we have the morethan 200 Assets. It was happend in Prdocution system so now the problem is where i can change the useful life for the asset class either in DEV or PRD.
           Also i want to know the information of How these assets are Uploaded into the system (Lsmw or etc). this is very urgent for me.
    Thanks in Advance,
    Regards,
    Siva.

    Hi Ashok,
         Can i know the reason how it was happend. i mean instead of 4 years the system showing is 5yesrs any reason is there behind that.
    Thanks in Advance.

  • How to configure the use of WS-RM in "PI 7.11 EHP1?

    How to configure the use of WS-RM in "PI 7.11 EHP1?
    Currently in the editing window of the communication channel (adapter type WS), I can not see any options regarding Reliable Messaging protocol (WS-RM).
    The scenario that is required is as follows.
    (Consumer WS-RM) -> (Provider WS-RM PI 7.11 EHP1) -> (ABAP Proxy Backend NW 7.0)
    I would greatly appreciate any help,
    Thanks,
    Roger.
    Edited by: Roger Solano on Apr 7, 2011 10:31 PM

    WS adapter supports WS Reliable Messaging.  But WS adapter is used to communicate between two SAP web service runtime. 
    Check this blog and its links for understanding direct connection or point to point communcation using WS adapter
    /people/william.li/blog/2008/02/13/point-to-point-connection-using-abap-in-sap-using-pi-71
    Hoe that helps.

  • New comer ask 2 simple questions:how to set the use of the right click of

    New comer ask 2 simple questions:how to set the use of the right click of your mouse?
    I don't know why when i click the right button of my mouse in logic, sometimes it's the same funcion as my left one, some times it's the same function that opens the tool menu....But in MacOSX,it's all okay.Just the weired thing in logic ,please help
    2.is there any kind of filter in Score? I mean, in midi track I have a C1 note, and I don't want the C1 note shown in my score, I want every note show which are above C2, like a filter. I think this is helpful dealling with some keyswich things,how can we do that?

    In Preferences -> Global -> Editing you can choose weather right click is assignable or opens the tools box.
    Not to sure about the score dude

  • How 2 move the message from memory card 2 phone me...

    did anyone know in nokia N73 how 2
    move the message from memory card move
    to phone memory???? did anyone know
    how 2 move it??? teach me plz.....

    Here is an easy way to move your messages from Phone Memory to Memory Card or from Memory Card to Phone memory In Nokia models.
    1- Install latest version of Nokia PC Suite and connect your set.
    2- Open Nokia Communication Centre. (Select Phone Memory or Memory Card from which you want to move messages to other memory)
    3- Select all messages in a single folder (Inbox/Sent Items or from My Folders) and click on file> export. This will create *.csv file.
    4- Download NBU Explorer 1.8 from http://www.soft82.com/download/windows/nokia-nbuex​plorer/  (You must have installed Windows Installer 3.1 and Microsoft .Net Framework 3.5 to run NBU Explorer. You can easily download these from Microsoft Site,)
    5- Open *.csv file in NBU Explorer and click File > Export All. (Your all messages will be exported as *.vmg files.)
    6- Disconnect and connect your phone again in Nokia PC Suite.
    7- Now set your target memory in your phone for messages.
    8- Open Communication Centre and Select your desired folder then click on file > Import messages by selecting multiple messages *.vmg files. (You don’t have to import messages one by one but you can import all messages in a single folder at once)
    9- And you have done it.
    10- You can import *.csv list in Nokia PC Suite rather *.vmg files, but in this case, all the spaces (blank spaces) in your messages will be lost. All the text of your messages will be merged to a single line. So exporting via NBU Explorer is recommended.  
    11- Any query?  Contact me at ********@yahoo.com.
    MODERATOR'S NOTE:
    E-mail address has been removed from this post as it is unwise to post such personal information in a public web forum. This is for your personal safety and privacy.
    Edited by: Aikin19

  • How to change the optimal virtual memory

    Hi, i use a tevra m2 1.8 GHz 512 MB laptop.
    normally used for office work and not for gaming,
    antivirus bitdefender consumes lots of memory so one has to be cautious on using memory.
    so i was wondering if anybody knows how to configure the best the 'virtual memory' : min and max : about 1.5 and 2 times the RAM-size ?
    Thanks in advance

    Hi
    Please go to:
    System Properties - "Advanced" tab - Settings in the performance area - "Advanced" tab - "Change" button
    There you will find the Virtual memory settings.
    I would recommend setting the settings to "System managed size". In this case the OS will control the value automatically.

  • How to Load the Entities on Memory ?

    Hi..
    I have an cmp entity bean , and whenever i calling the bean, its loading
    each time in database ,and it results the performance degradation of the
    page. Hence i need to keep the cmp entity on memory when the application
    server starts, so that i will access the entities on memory rather than
    database each time .
    Tell me how to keep the entity beam (cmp) on memory when the
    application server starts ?

    I am assuming that the data that you are accessing through this bean doesn't change (or changes very rarely). Consider using Read Only Entity beans for this
    You can find more about this at the following links:
    https://glassfish.dev.java.net/javaee5/docs/DG/beahl.html#beail
    and
    https://glassfish.dev.java.net/javaee5/docs/DG/beajj.html#beajj

  • How to prevent the use of wild cards in select-option

    Hello experts,
    Is it possible to prevent the use of wild cards in a select-option? If yes, how is it done please?
    I have a
    SELECT-OPTIONS: o_comp  FOR dbtab-field OBLIGATORY DEFAULT 'FI'.
    and, I want to prevent the users for giving in some thing like FI* with the wildcard bc it would lead to dump.
    I want an error message to display and prevent the users for making such entry.
    Please I need your help and I would be very grateful.
    Thanks
    Nadin

    You have to use SELECT_OPTIONS_RESTRICT to restrict input allowed. Call this FM in INITIALIZATION or SELECTION-SCREEN OUPUT sections.
    Sample :
    TYPE-POOLS: sscr.
    INITIALIZATION.
    * Restrict SELECT-OPTIONS
      PERFORM restrict_select.
    FORM restrict_select.
      DATA: restrict TYPE sscr_restrict,
            opt_list TYPE sscr_opt_list,
            *** TYPE sscr_***.
    * Défine select-options modes (aka option list)
    * - ALL standard - all options allowed
      CLEAR opt_list.
      MOVE 'ALL' TO opt_list-name.
      MOVE 'X' TO: opt_list-options-bt,
                   opt_list-options-cp,
                   opt_list-options-eq,
                   opt_list-options-ge,
                   opt_list-options-gt,
                   opt_list-options-le,
                   opt_list-options-lt,
                   opt_list-options-nb,
                   opt_list-options-ne,
                   opt_list-options-np.
      APPEND opt_list TO restrict-opt_list_tab.
    * - EQU only equality allowed (list of values)
      CLEAR opt_list.
      MOVE 'EQU' TO opt_list-name.
      MOVE 'X' TO opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
    * Affect modes to parameters or block of parameters
    * ALL by default
      CLEAR ***.
      MOVE: 'A'          TO ***-kind,
            '*'          TO ***-sg_main,
            'ALL'        TO ***-op_main.
      APPEND *** TO restrict-***_tab.
    * EQU to internal material number
      CLEAR ***.
      MOVE: 'S'          TO ***-kind,
            'S-MATNR'    TO ***-name,
            'I'          TO ***-sg_main, " no exclusion
            'EQU'        TO ***-op_main. " only value list
      APPEND *** TO restrict-***_tab.
    * Call  FM
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
           EXPORTING
                restriction = restrict
           EXCEPTIONS
                OTHERS      = 1.
    ENDFORM.                    " restrict_select
    In the sample, only select-options for matnr is restricted to single value list.
    For your request build a mode with all options except "pattern" ones : CP and NP.
    Regards

  • How to reduce the usage of memory?

    I am using MacBook Pro with 8 GB ram. Without opening any window, the total usage maintain up to 6 GB or more from time to time.  I am not sure if it is normal. Anyhow, I am trying to close some unnecessary program in order to improve its speed.  Please advise.
    Thanks,
    Matt

    I am trying to close some unnecessary program
    To see more available memory, you need to get in the habit of QUIT-ing unnecessary Applications. If you simply close their windows, they stay active in the background, waiting to be re-activated.
    Mavericks and later use RAM Memory differently, and it is expected behavior to see all memory in use. Use the Activity Monitor > Memory display to check your memory pressure. Green is good.

  • How to minimize the gap between two regions in a page

    Hi All,
    How to minimize two regions in a page ? I have two regions in page but I need to minimize the (default) space gap between these regions as it looks too large.
    Thanks for the answer.
    Jeffry

    Jeffry,
    You may want to check the tutorial [Achieving Pixel-Perfect Page Design with HTML Templates|http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm] on OTN.
    Thanks,
    EJ

  • How to remove the use of virtual layout on a Spark DataGrid

    Hi!
    I have the following spark data grid:
    <s:DataGrid id="listagem"
                x="6"
                y="6"
                width="640"
                height="400"
                skinClass="skins.dataGrid.ConsusListagemDataGridSkin"
                dataProvider="{imoveis}">
         <s:columns>
              <s:ArrayList>
                   <s:GridColumn headerText="IMÓVEL"
                                 itemRenderer="components.itemRenderers.ListagemImovelItemRenderer"/>
                   <s:GridColumn headerText="LOCALIZAÇÃO"
                                 dataField="comuna"
                                 width="130"/>
                   <s:GridColumn headerText="PREÇO"
                                 labelFunction="{function (item:Object, column:GridColumn):String {return '$ '+item.preco;}}"
                                 width="90"/>
                   <s:GridColumn headerText="COMPARAR"
                                 width="70">
                        <s:itemRenderer>
                             <fx:Component>
                                  <s:GridItemRenderer>
                                       <s:CheckBox verticalCenter="0" horizontalCenter="0"/>
                                  </s:GridItemRenderer>
                             </fx:Component>
                        </s:itemRenderer>
                   </s:GridColumn>
              </s:ArrayList>
         </s:columns>
    </s:DataGrid>
    My problem is that, if I select the check box on one item having a considerable amount of rows, then if I scrool down another item will appear checked even if I never clicked it.
    This is due to the use of virtual layout by the spark data grid, but I just can't find where to tell the data grid to not use virtual layout.
    Can anyone help me, please?
    Thanks,
    Jorge

    Hi kevinklin!
    Thanks for your answer.
    I tried to do as you told but I never get the prepare method to be executed.
    I just added this to the GridItemRenderer:
    public override function prepare(willBeRecycled:Boolean):void
         Alert.show('BLA OUT');
         if (willBeRecycled)
              Alert.show('BLA IN');
    but I never get to see any alert box.
    Best regards,
    Jorge

  • How to restric the use of Business Area and Plant in PTC module

    Hi Expert,
    I am facing a problem with restricting the use of Business Area and Plant in PTC module.
    In this project we are trying to controle the user access or transaction as per the Business Area and Plant.
    We have applied same authorisation in the PTF module.
    Please help me if there is any authorisation object which give Plant and business area restrictions for all the transactions.
    Note: We have already inserted two authorisations object manually -
    1) F_BKPF_GSB
    2) A_IMPR_GSB
    but it's not working, is there any other way to restrict all the trasactions as per the Business Area and Plant.
    Regards,
    Venkatesh

    Hi,
    have you done OMJ7?
    Anyway you can assign plant to Branch and restrict by Validation rules (GGB4)
    Regards

  • How to inititalized the used Component?

    Hello,
    I would like to initialize a used Component in a special way only when it is called by another Component.  When it runs in stand alone, I do not want to perform this initialization.  Is there any way to accomplish this?  I have not seen this in the documentation.
    B.

    Hi ,
    Check this  !
    "Each window has a uniquely assigned interface view. This interface view represents the outward view of the window. The interface view is linked with a Web Dynpro application so that the window can be called using a URL.".
    In simple terms, interface view shows you the default view of the used component.
    Using interface view is not complex.What is your requirement. ?
    Regards
    Bharathwaj

Maybe you are looking for

  • Import & Export_Really Messed Up !!!

    Not sure what happened... -but something's gotten screwed up really bad w/ both my import AND export settings in Flash (running Flash MX Pro 2004). I was in the process of importing a .MOV movie (created in Sony Vegas Movie Studio (v8.0), to be expor

  • Managed Content Folder Pagelet: Can Sub-folder list be sorted?

    Greetings, It seems that even prefixing the names of folders with numbers cannot influence the random arrangement of folder names. Is it possible to sort these for Interaction Hub 9.1 ? The image below is of a homepage pagelet that was generated with

  • BSEG Table maintenance

    Dear SD Gurus, We are not able to see entries related to Material and material quantity in BSEG table. I am not sure why these entries are not coming in this table. As far as my knowledge goes BSEG table is a cluster table and an important part of th

  • Section code in customer line item for scrap

    Hi I created customer. I assigned business place to manufacturing plant and then section code to business place. Now i created scrap order and did PGI and invoice. Now i i saw accounting entry and double clicked on customer line item. There i saw bus

  • Tomcat server add on the device

    Hi Folks, Can anyone tell me the exact location of the jscpout.txt file so that  i can check whether the Tomcat server add on has been successfully installed or not. Can you please clarify : I have downloaded the tomcat addon from the sapnote 1009703