Close reference needed for step object reference open? If so, how?

Hello,
We are using an activex method call to open an object reference to a step and programatically rename it.  This is done many many times during our test run, thousands.  We ran into an "out of memory" problem we had never seen before during a 72 hour test run, and in hunting down any possible memory leaks, I am wondering if a corresponding close is needed for the step reference open we are doing, and how.  I have hunted around the different methods/properties, and can't seem to find if there is a step reference close.  I have attached the specify module screen of the activex call which opens the step reference.
Thanks for any replies
David Jenkinson
Message Edited by david_jenkinson on 06-11-2007 05:07 PM
Attachments:
step reference specify module.png ‏25 KB

Hi David,
Setting a reference to nothing in TestStand will close it. However, if you are assigning a new value to the local it also frees the memory associated with the original value, making it so you don't need to assign it to nothing. I don't believe the source of the leak is in this step.
Test Engineer - CTA

Similar Messages

  • Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode?

    Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode? Particularly when I have to do it before I turn on iTunes.

    Try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
    iTunes for Windows: How to turn off Compatibility Mode

  • I want to transcribe one audio file of a lecture into text. I don't have a need for extended use so can anyone recommend how to do this free? Thanks

    I want to transcribe one audio file of a lecture into text. I don't have a need for extended use so can anyone recommend how to do this free? Thanks

    Mike,
    I was successful, in a test I just conducted, to get Siri to record your problem statement in a Note file on the iPod as I used the Edit > Speech feature in Safari to play the text. I don't see why dictation wouldn't work as well. Why not give it a try?
    If you don't have an iOS device to try this with, you could write your audio file to a CD and use an external player to get audio to the Mac.
    Jerry

  • I need Numbers 3.0 to open icloud docs; how can I download without losing Numbers 2.3?

    I need Numbers 3.0 to open icloud docs; how can I download without losing Numbers 2.3?

    VR,
    Your Numbers 2 app will still be functional if you download the new Numbers 3 app. If you purchased Numbers 2 prior to the Mac App Store, your iWork '09 apps are in Applications > iWork. If you purchased your Numbers 2 app from the Mac App Store, Numbers 2 will be in Applications, no sub folder. But, if you "Upgrade" to Numbers 3, Numbers 2 will be moved into an iWork subfolder within Applications. You will be able to manually choose which one you want to use, but Numbers 3 will be the default.
    Jerry

  • Help need for force to signout All session ! how...

    hi
         help need for force to  signout All session !  how ??
    Solved!
    Go to Solution.

    Hi and welcome to the Skype Community,
    To force a signout of all instances your Skype is signed into please change your password: https://support.skype.com/en/faq/FA95/how-do-i-change-my-password
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Need for implementing Objects By Filter (OBF) method in ACE

    Hi All,
    i wanted to understand the significance of the OBF method in ACE. Can i implement my logic only using Actor from User (AFU) and Actor from objects (AFO). Does it impact the performace if OBF is not implemented. Please provide you inputs on this.
    Regards,
    Sudha

    Hi Nithish.,
    Thanks for explanation. Yes i understood the purpose of OBF. Let me tyr explain my doubt with an example.
    I have to determine acces for one-order objects having a specific custom  transaction type say ZABC.
    In OBF i will fetch all the one order objects where the transaction type is ZABC. This output of OBF will serve as input to my AFO.
    In AFO, i willl again fetch the same objects. I will loop through the output of OBF method for every object and check if the object fetched in AFO is present in output table of OBF. If yes then proceed further in determinig the actor for that objec. Repeat this process in a loop for every object in OBF.
    If my above understanding is correct, what is need for having specific  OBF method when I can directly write the logic of fetching one order object of transaction type ZABC in my AFO and dertermine the actors for them. without having to loop thourgh the outpu of OBF.
    Regards,
    Sudha

  • I need to go back to an older version of Firefox in because a SaaS program needed for work cannot be opened using Firefox 4

    One of the programs I need for my job is a SaaS. This is the error message received after upgrading to Firefox 4: "The iCIMS Talent Platform requires Internet Explorer 7/8 or Firefox 3.0/3.5/3.6.
    Please upgrade to a supported version of Internet Explorer or Firefox "

    You can get Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • MSXML 4.0 needed for COM object invocation?

    Hi,
    Do I need MSXML 4.0 for the <CFOBJECT> tag to worK? Coz
    I dont have this right now and I am gettign the following error
    when i try to instantiate a COM object.
    Error:
    "An exception occurred when instantiating a Com object. The
    cause of this exception was that:
    coldfusion.runtime.com.ComObjectInstantiationException: An
    exception occurred when instantiating a Com object..
    The error occurred on line 5. "
    Code:
    <HTML>
    <HEAD>
    <TITLE> Test</TITLE>
    </HEAD>
    <CFOBJECT TYPE="COM" NAME="MyWord" CLASS="WINWORD.EXE"
    ACTION="Connect" CONTEXT="Local">
    <CFSET MyWord.Visible="False">
    <CFSET OriginalDoc=MyWord.Documents>
    <CFSET OriginalDoc.Open("C:\wwwroot\test.doc")>
    <CFSET ConvertedDoc=MyWord.ActiveDocument>
    <CFSET
    ConvertedDoc.SaveAs("C:\wwwroot\Test\test.html",Val(8))>
    <CFSET MyWord.Quit()>
    <CFSET ReleaseComObject(MyWord)>
    <BODY>
    <TABLE>
    <TR>
    <TD><A
    HREF="www.yahoo.com">Yahoo</A></TD>
    </TR>
    </TABLE>
    </BODY>
    </HTML>
    Thanks

    Hi,
    I installed MSXML 4.0 and now I am getting a slightly
    different error:
    " An exception occurred when instantiating a Com object. The
    cause of this exception was that:
    coldfusion.runtime.com.ComProxy$ComObjectConnectionException: An
    exception occurred when trying to connect to an active Com object..
    Any Ideas?
    Thanks

  • Help need for sending object over TCP Connection

    I have
    ResultSet rs = (ResultSet)connection.getObject(1)
    and i have user's connection connected on a port
    Currently i am reading while rs.next elements , preparing somestring and i am using socket_connection.send('to_myuser',somestring) to send message
    and user receive it like (while input_stream.readLine() != null )
    etc .etc.. i am just writing some algorithm which very common.
    i want to reduce this recursion on the my server end and once user receive it , and to get all result set retrieved from that end.
    my question is , is it possible to send
    connection.send('myuser',rs);
    and how to read on the other end.
    Thanks in advance

    Just want to clarify how we can cache it..? I belive
    we have to put data somewher in the ArrayList or
    something ....which one major taskOf course caching requires that you store it in something.
    >
    second, you need a very good algorighm to query all
    your collections ... i think oracle SQL mechanism is
    very nice.... however in your recommended approach i
    have to write lots of searching and sorting
    alrogrthm... .correct?Generally no. Requests are usually limited to very few parameters and often limited only to one or zero. Thus a user first gets a list of customer names (no parameters for query) and then request the detail about a specific customer (using the customer id which is only one parameter.)
    Note that you mentioned large amounts of data. You didn't specify what large meant. However large requests should never be allowed from users (people). They can't use it anyways. Automated processes should be architected to provide for a technological solution with is cost effective.

  • My iTunes for windows won't open no matter how many times I re-install it. Please help how to fix this!

    And there was once when i tried to re-install again. There was this window said all my purchased apps will be erased and I have to repurchase them in the future. What is going on here?

    Linc Davis has indicated how to Force Quit out of any application that is frozen.
    For your Mail issue, try the following:
    - Go to Software Update to apply the new update for Mail. Not sure, but there may be bug fixes in the  new version.
    - Go to Disk Utility (In Applications, Utilities) and run a Permissions Repair. Then do a restart of your computer.

  • Prompt for Authorization Object

    Dear Experts,
    I would like to have control on certain authorization objects which are common among the roles while creating them.
    Is it possible that while maintaining or creating a role, if by mistake the administrator does not block the object OR add an entry which we do not authorize, the system should alert the administrator as a popup or alert message?
    I am aware about the report "RSUSR008_009_NEW" for maintaing critical authorizations, however, running a report and giving a prompt are two different things.
    Any possibility of an alert?
    Thanks and Regards,

    Hi J K
    I take the following approach with SU24:
    Complete Proposal - completely maintain an authorisation proposal when that values applies for any situation in PFCG role build. E.g. transaction FB03 for object F_BKPF_BUK has fields ACTVT and BUKRS. You can allow the value as ACTVT = 03 and BURKS = $BUKRS (org value) or each scenario
    Partial Proposal - only maintain some of the fields where it will be consistent. E.g transaction OB52 for posting periods and S_TABU_DIS with field ACTVT and DIBERCLS. You leave ACTVT blank as sometimes you want change whilst DIBERCLS for auth group is static so you can enter a value there
    Empty Proposal - leave the proposal values completely blank as the requirement will depend on the scenario. E.g transaction SM30 you might leave S_TABU_DIS empty as it will depend on the role for both fields.
    If you take this approach, you minimise the need for deactivating object, copying/changing and manual objects in PFCG. You maximise role authorisation under status of Standard or Maintained.
    Now if we set the proposals in su24, it will be applicable for other new roles as well for which we DO want the proposals to exist.
    Yes if you change SU24 you should clean up all impacted roles but before you build roles you should review
    At the end of the day your need to have competent security administrators who know what a display activity is and have attention to detail/meticulous enough to build the role with appropriate restrictions (i.e. do not put change access in a display role).
    How can we avoid the "new authorizaiton objects" to be added to this display role.
    To avoid this you are trying to avoid using SU24 integration. If you are tying to build a SAP display all role then you might as well copy SAP_ALL and go through and deactivate/remove any display access from the role. In this case you would not use the role menu.
    Not all solutions are technical. It's why you need to have a clearly defined process that is adhered to.
    My trick of display roles - I got the AGR_1251 role and look at the entire contents of the role and scan this list of objects and what's in the role. However, I do this as I know the objects relatively well and can identify the specific objects that are change/display  but do not use ACTVT field (e.g. PLOG/P_ORGIN/P_PERNR)
    Wonder why SAP prompts warning and errors messages doing a business/financial transaction and not security.
    Exactly what would you want the system to prompt? How would SAP know what a display role is?
    We noted that every time we add a t-code, the authorization object added is marked as "new" in the list. we jsut disable those and generate it
    If you take this approach you cannot guarantee the transaction code will work. The user may need the underlying values and that is why SU24 has them marked as proposal.
    My summary - defined your process to include a quality check after building a role and hire security administrators who know more than how to tick and click buttons in PFCG (i.e. they understand security objects and why some are sensitive).
    Regards
    Colleen

  • How to code a method that returns string for class object

    I have a class named Address.
    public class Addresss{   
    private String street;   
    private String city;            // instance variables  
    private String zipcode;}I have been asked to write a method that returns a string for Address object. I dont understand how to create address object.Can anyone pls help me understand.
    do I have to write (for creating object)
    Address addressObject  = new Address(); ( coding method that returns a string for address object) ---> I really dont understand this part.

    looks almost right. The problem is that your method name AddressBookEntry does not match the name of your class AddressBook and therefore is not a constructor.
    Furthermore, you probably need to make a distinction between a single entry into the address book which consists of a single name and a single address, (which is just what you have done) and an address book itself which is probably a list of AddressBookEntries
    So for your code I would change the class that you called "AddressBook" to "AddressBookEntry" and have a third class that represents the collection of AddressBookEntries.
    Now to be honest, I don't know why you keep the name split apart from the street address portion of the address. I would be more inclined to keep the name as a field of the address itself, but it's your code, you carve it up the way you like.

  • Need for efficiency tips

    I guess efficiency refers to about run-time, compile-time, and memory usage.
    I am wondering whether there are some easy tricks for efficiency:
    I am really new, forgive me if i am wrong.
    -using static variables, methods //contradicts the idea of objects
    -final classes, final methods
    -declare a local rather than a global variable, if the variable is only needed locally
    -something about imports
    Thanx in advance

    I guess efficiency refers to about run-time,
    compile-time, and memory usage.
    I am wondering whether there are some easy tricks for
    efficiency:
    I am really new, forgive me if i am wrong.
    -using static variables, methods //contradicts the
    idea of objectsNo contradiction. Saves memory - make all variables that you don't need for each object of the class static
    -final classes, final methodsNothing to do with efficiency. That�'s about prohibiting inheritence.
    -declare a local rather than a global variable, if the
    variable is only needed locallyPerhaps, though I doubt it wioll be of much use.
    -something about importsNo. Java loads classes only as needed, not while processing the import statement.
    >
    Thanx in advance

  • Getting error message that states itunesexe has been set to run in compatibilty mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it .How do i turn off compatibility mode?

    recieved error message that states" itunes exe has been set to run in compatibility mode for an older versions of windows for best results turn off compatibility mode for itunes before you open it. How do i access compatibility mode and turn it off ? Believe i have Windows 7.

    Try the following document, only be sure that none of the boxes in the compatibility tab are checked (not just the compatibility mode box itself): 
    iTunes for Windows: How to turn off Compatibility Mode

  • Set XML-Attributes for multiply objects

    Hi everybody,
    this is my situation. I have a document with several pages and several objects on each page.
    now I want to get the coordinates and the dimensions of a object and write down the datas as a XML-attribute.
    The script should do this for every object in my document.
    That's what i got so far:
    function creatAtt(){
        for (var i = 0; i < app.selection.length; i++){
        var myObject     = app.selection[i];
        var myXMLobject = myObject.associatedXMLElement;
        var ycoords     = myObject.geometricBounds[0];
        var xcoords     = myObject.geometricBounds[1];
        var width         = myObject.geometricBounds[3] - myObject.geometricBounds[1];
        var height         = myObject.geometricBounds[2] - myObject.geometricBounds[0];
        myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");
        myXMLobject.xmlAttributes.add ("X-Koordinate", xcoords.toString() + " px");
        myXMLobject.xmlAttributes.add ("Width", width.toString() + " px");
        myXMLobject.xmlAttributes.add ("Height", height.toString() + " px");
    creatAtt();
    When I select a object and run the script it only writes the data for the selected object, not for all objects. Somebody a tip how to fix it???

    Hi,
    I have tried the script. And it only writes down the attributes for one object. Directly in the root. I have attached a screenshot. But i want to write the attributes in the hotspot Tags of the selected object.
    I hope you know what I mean .
    I dont know where he gets the datas bot that are not the datas of one of my three objects.
    I changed the scrip a little bit:
    var myDoc     = app.activeDocument; 
    var myPages = myDoc.pages;
    for (var i = 0; i < myPages.length; i++){
        var myActualPage = myPages[i].pageItems;
        for (var j = 0; j < myActualPage.length; j++){
            var myObject     = myActualPage[j];
            var myXMLobject = myObject.associatedXMLElement;
            var ycoords     = myObject.geometricBounds[0];
            var xcoords     = myObject.geometricBounds[1];
            var width         = myObject.geometricBounds[3] - myObject.geometricBounds[1];
            var height         = myObject.geometricBounds[2] - myObject.geometricBounds[0];
            myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");
            myXMLobject.xmlAttributes.add ("X-Koordinate", xcoords.toString() + " px");
            myXMLobject.xmlAttributes.add ("Width", width.toString() + " px");
            myXMLobject.xmlAttributes.add ("Height", height.toString() + " px");
    But then I get a error message:
    Errornumber: 21
    null is not an object.
    Row 60 --> He means this part of the script: myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");

Maybe you are looking for