Am I need to Eliminate the object after used??

Am I need to Eliminate the object after used to release the resource ? Which like C code: free(Dynamic variable). And why and how they works in java??
Thank alot !!!

You may want to read about garbage collection in java. Basic intro in [url http://java.sun.com/docs/books/tutorial/java/data/garbagecollection.html]tutorial, after that search around the site for garbage collection and related topics
Mike

Similar Messages

  • I am not able to change the object after upgrade(SPAU Activity).

    HI All,
    I am not able to change the object after upgrade(SPAU Activity). Please any one can tell what is the reason with below details.
    You are not authorized to make changes
    Message no. 37202
    Diagnosis
    You have no authorization for the authorization object 'S_DEVELOP', which would allow you to change the screen concerned.
    There is also a second possibility:
    You want to edit a modified SAP screen in a customer system after an upgrate (SAP transport). The screen remains locked for editing until the new SAP version and the customer version have been aligned (Transaction SPAU).
    System Response
    Authorizations are assigned to users in profiles. Profiles are stored in the user master record.
    Procedure
    Comsult your system administrator.
    Thanks in Advance,
    Mahesh Devershetty

    Hi,
    Does the user who would like to change the screen have the authorisation
    for S_DEVELOP in his profile? Please run transaction /NSU53 after the
    failed authorisation. You will get an information which authorisation
    is missing.
    Additional please check if you have open entries in transaction SPAU for
    that object.
    If you couldn´t solve the issue I need an user to analyse it in your
    development system.
    That user needs all authorisation for development and has to be
    registrated as developer.
    The system uses the authorization object S_DEVELOP for Workbench objects
    can you please check your user master record whether it contains the
    required autorization or not.
    Please also ensure that modification adjustment is turned on as per note:
    197600  Switching the Modification Assistant off and on
    Aidan

  • I need to get the cluster information using"MSCluster.Cluster" object

    Hi,
    Please anyone solve my problem ? I need to get the cluster information using"MSCluster.Cluster" object.
    Set objCluster = CreateObject("MSCluster.Cluster")
    objCluster .open <clustername>
    If i run the vbscript " Microsoft VBScript runtime error: ActiveX component can't create object: 'MSCluster.Cluster' " error is thrown.
    Kindly explain what is the issue and what can i do ? 
    -Sundar.

    this question was closed and answered a long time ago.
    Post questions about WS2012 in th WS2012 forum.
    The cluster object will no longer work in WS2012.  Use the supplied CmdLets and utilities.
    post future questions in the WS2012 forum.
    ¯\_(ツ)_/¯

  • Need to reopen the form after saving

    Hi All,
    I am developing a form for employee time sheet. I am using the ON-INSERT Trigger to insert the details of the employee. I need to reopen the form after inserting the details into table. I tried using the NEW_FORM bulit-in in POST-INSERT Trigger. but getting an error: FRM-40737 illegal restricted procedure NEW_FORM in POST_INSERT) Trigger. Can any one please how can I do this.
    Thanks and Regards
    Sai

    Hi Jeneesh,
    Thanks for the reply.
    I need to clear the form after saving and also I made the Update Allowed property to 'NO' as client per requirement. So, every time after saving the form, I am getting an error message 'Update is not allowed on this form' . in order to avoid this message after saving I want to close this form and open it again.
    Also I need to clear the datablock. where can I clear the datablock after saving it.
    Thanks
    Sai.

  • Need to sort an object array using an element in the object.

    hi all,
    i need to sort an object array using an element in the object.can someone throw some light on this.
    Edited by: rageeth on Jun 14, 2008 2:32 AM

    [http://java.sun.com/docs/books/tutorial/collections/interfaces/order.html]

  • [SOLVED]Formatting the USB after using DD

    Hi, I can't format the USB after using DD, but it doesn't work. I zeroed the partition like written in the wiki, but when I try to make the fs it says that the partition doesn't exist. The system doesn't recognize the USB at all. I used the windows version of DD
    Last edited by ChessArcher (2014-02-08 18:07:43)

    ChessArcher wrote:Hi, I can't format the USB after using DD, but it doesn't work. I zeroed the partition like written in the wiki, but when I try to make the fs it says that the partition doesn't exist. The system doesn't recognize the USB at all. I used the windows version of DD
    You need to partition it; why would you use the windows version of anything?

  • Destroy/dispose  an object after using it

    This might related to my java size limitation problem. I do getParemeter() for over 500 fields and need to create this many times of instance of an object to call the same method.
    newinst=new myclassconstructor();
    newinst.callmethod();
    The application is only working 2/3 way through. Anyone can tell me how to fix the problem? Do I need to dispose the object somehow? J

    This is the HTML form with 500 input elements that you have been asking various questions about all day? A word of advice: all the questions you have been asking are off-track. You are trying to solve secondary problems that result from your primary problem, which is this: you have an HTML form with 500 input elements. People who have to input data into that form are going to hate you and curse your ancestors. Redesign it so that you present the user with several smaller forms, one form at a time. Your users will thank you and you won't have to waste time the way you are doing now.

  • The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -  When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for abo

    The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -
    When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for about 6 months ...

    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325
    Are you trying to use a 32bit version (I did not even know there is one for Photoshop CC 2014)?
    If so – why?

  • Is it okay to closed the lid after using Macbook Pro even the it is hot?

    Hi. I'm using MBP early 2011 I5 and I noticed the temperature getting high and palm rest is getting hot/warm when I'm playing games. Is this normal? temperature around 80 degree celsius accoringding to istat.
    Also, after using the MBP, ofcourse the palm rest is hot/warm. Is it okay to close the lid after using it?
    Thanks.

    My practice has been to let the MBP cool a few minutes before closing the lid, so it's trapping less heat. I doubt this has much saving effect on the logic board components, but my MBP is old enough to have a glossyplastic display cover. It would look ugly if it started to warp.

  • HT5260 iphoto only shows photo with 5 stars in the event after using aperture

    iphoto only shows photo with 5 stars in the event after using aperture...
    help

    Thanks for your response again.
    and this happen to every single folder in iphoto.

  • My iPhone 4S is becoming too hot on the back after using apps

    My phone 4s is becoming too hot on the back after using apps and browsing over the net

    Apple actually recommended that at least once a month What I've noticed in the iPhones and iPods that when you drain it to 0%, it saves some energy to display that connect to AC source. That's what you get when you turn on your phone or ipod even if it's 0%. That WILL destroy the battery but full cycling wouldn't.
    I tried it and it worked thanks but after a day it will be glitchy again :l

  • I need to get the tagName after a node of the first child of the Root

    Hi All,
    I need to get the TagName of the Node immediete after the Root. I won't know what is the TagName, and based on the Tagname only I can process the records.
    For example I might receive a SALES object or a MARKETING object wrapped under the root.
    eg.
    <PARENT>
    <SALES>
    </SALES>
    </PARENT>
    or
    <PARENT>
    <MARKETING>
    </MARKETING>
    </PARENT>
    I tried to using like this
                   DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
                   File file = new File("c:/example.xml");
                   document = documentBuilder.parse(file);
                   Node node = document.getDocumentElement().getFirstChild();
                   System.out.println("node Name:" +node.getNodeName());
                   System.out.println("node Value:" +node.getNodeValue());
    It returns only something like #text, but I need the response like 'SALES'.
    Can anyone let me know if im missing something somewhere.
    thanks in advance,
    Harish

    That's because the first child of the document element is that whitespace text node between <PARENT> and <SALES>. You need to scan through the children of the document element until you find one that is an Element node.

  • Regenerating the object after Transport

    Hi,
    We are seeing a issue which we had not seen earlier.
    If there is any user exit  changed, the object is not getting activated unless we regenerate the object in the target environment.
    Basically Include programs are not activated in the target system after we import the transport request. know
    Every time after import we are manually regenerating the object in the target environment.
    Regards,
    Kumar

    Hello Kumar,
    You need to check transport logs to see how is the transport imported i.e with errors or warnings. In case any error or warning transport log showing then resolve those in source system and create new transport request.
    Thanks,
    Augustin.

  • Can't restore apple id ,you were blocked for security reasons, but to restore the need to enter the key after typing it sends a 4-digit code on the ipad , but at ipade I am not connected to icloud ,and to connect you need to recover your account

    can't restore apple id , because apple were blocked for security reasons, but to restore the need to enter the key two- step werification . after typing it , apple sends a 4-digit code on the ipad , but at ipad I am not connected to icloud ,so i cant get code . but if i want to recover apple id, i need to  connect icloud, so what to do? help !

    I have (sorry forgot to add that). I was switched around and finally I was told I would be put through to a supervisor but after being on hold for about 10 minutes the phone went dead, I did not lose connection so I do not know if I was hung up on or there was some technical difficulty. I called again yesterday and did in fact speak with a supervisor for Account Security but he told me he did not know why it was happening and put me through to a different number but that ended up not being any helpful either. That's when I decided to give it a shot on here!

  • I need to know the object

    Hi,I'm developing a click listener Class; first I implemented the Mouse Listener class, and then I wrote all the methods of the interface:
    import java.awt.event.ActionListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    public class ClickListener implements MouseListener {
         public void mousePressed(MouseEvent arg0) {
              System.out.println("mouse pressed");
                    //actions
         public void mouseClicked(MouseEvent arg0) {
              // TODO Auto-generated method stub
         public void mouseReleased(MouseEvent arg0) {
              // TODO Auto-generated method stub
         public void mouseEntered(MouseEvent arg0) {
              // TODO Auto-generated method stub
         public void mouseExited(MouseEvent arg0) {
              // TODO Auto-generated method stub
    }Now I need to develop the actions for each event. But how can I understand what object trigged my event?Is there any method or attributes in the object arg0 to help me to know what object caused the event?Thank you very much

    Now I need to develop the actions for each event. But
    how can I understand what object trigged my event?Is
    there any method or attributes in the object arg0 to
    help me to know what object caused the event?Thank
    you very muchWhat about reding the javadoc for MouseEvent? You should call getSource.
    Kaj

Maybe you are looking for

  • Incorrect Tag:Multiple Attributes with Same Collection Type

    I have an Object Type that contains multiple attributes with the same collection type. When I use OracleXML getXML to generate xml, the tag for all elements created for any of the matching types is the tag for the 1st of the similar attributes. work_

  • Switching default mail clients?

    Is it possible to switch default mail clients from Mail to Entourage? I would like for Entoutage to open when I I hit the Apple key + I . Thanks

  • Help to resolve Unable to connect to XL reporter user authentication

    I upgraded business one 2007 from PL 11 to PL42 on SQL Server 2000. I have 7 companies and only one of them has a problem loading XL reporter. I first get a sql script executor - execution result screen with what looks like errors in a script that ha

  • 500 Internal server error WRT54G2

    Hello everyone, I have a problem with my router, WRT54G2. I was upgrading my firmware when my computer froze up, so I had to exit. Afterwards, I could not connect to the web based setup page anymore. I did a factory reset and installed it again with

  • Another trap for (not so) young players!

    I am gradually working up courage to start playing with mySQL and PHP, and as part of the process I have had all my sites moved to UNIX hosts. When the last site was moved, I found that I could upload to it, but that was not publicly visible. When I