Use of FREE Command

Hi,
Can anybody answer pros and cons of using FREE Command?
Regards
Nilesh

Serdar's post is correct, though I would like to add a clarification if I may.
Say you have an internal table ITAB with a record length of around 1K, holding around 1,000 rows.  If we look at memory allocation simply, we can say that this internal table ITAB occupies about 1MB of memory.
If you use the statement <b>REFRESH ITAB</b> then afterwards the internal table ITAB will be empty, but the internal table will not release the 1MB of memory previously allocated.  This can have a performance advantage if your just going to fill the internal table up again, as it re-uses this memory.
If you use the statement <b>FREE ITAB</b> then afterwards, the internal table will be empty but the allocated memory will also be released.  Thus if you subsequently repopulate the internal table, the work process will have to reallocate memory again.  Using FREE can be particularly important in long-running, high volume processes, when an internal table is no longer required.
FREE originated as a command to manage internal tables.  It has subsequently be extended to explicitly destroy class instances in ABAP Objects (as well as OLE2 automation references via FREE OBJECT ...).
Using <b>FREE objref</b> is the same as using <b>CLEAR objref</b>.  That is, the variable objref will no longer hold a reference to the class instance.  Whether the object is actually destroyed by the garbage collector depends on whether other references to the instance are still held.
Cheers,
Scott
Message was edited by Scott Barden following clarification by Klaus.

Similar Messages

  • I am using Illustrator CS6 (Mac). I am using free transform tool. Why can't I use Shift Option Command to distort in perspective?

    I am using Illustrator CS6 (Mac). I am using free transform tool. Why can't I use Shift Option Command to distort in perspective?

    hong,
    You need to ClickDrag just a tiny bit, then apply the Shift Option Command.

  • Command of database used and free size

    Good Day for all of you .
    i need command to check whole database used and free size and table spaces , datafile used and free size.
    your help and cooperation highly appreciated.

    Query 1:
    select case grouping(Tablespace_Name)
    when 0 then Tablespace_Name when 1 then '======> TOTAL <======' end Tablespace_Name,
    autoextensible AutExt,trunc((sum(Bytes)/1024/1024),2)MB_SPC_OCCUP,
    trunc((decode(sum(MaxBytes),0,sum(bytes),sum(MaxBytes))/1024/1024),2) MB_TOT_AVAIL,
    trunc((decode(sum(MaxBytes),0,0,sum(MaxBytes)-sum(Bytes))/1024/1024),2) MB_Free_Spc,
    trunc(decode(sum(MaxBytes),0,0,
    (sum(MaxBytes)- sum(Bytes))/sum(MaxBytes)*100),2)Pct_Free_Spc,
    status from dba_data_files group by cube(Tablespace_Name), Autoextensible, status
    order by status,autoextensible,Tablespace_Name desc;
    Query 2:
    select (select decode(extent_management,'LOCAL','*',' ') from dba_tablespaces where tablespace_name
    = b.tablespace_name)
    || nvl(b.tablespace_name, nvl(a.tablespace_name,'UNKOWN')) name,
    kbytes_alloc kbytes,
    kbytes_alloc-nvl(kbytes_free,0) used,
    nvl(kbytes_free,0) free,
    ((kbytes_alloc-nvl(kbytes_free,0))/kbytes_alloc)*100 pct_used,
    nvl(largest,0) largest,
    nvl(kbytes_max,kbytes_alloc) Max_Size,
    decode(kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100) pct_max_used
    from ( select sum(bytes)/1024 Kbytes_free,
    max(bytes)/1024 largest,
    tablespace_name
    from sys.dba_free_space
    group by tablespace_name ) a,
    ( select sum(bytes)/1024 Kbytes_alloc,
    sum(maxbytes)/1024 Kbytes_max,
    tablespace_name
    from sys.dba_data_files
    group by tablespace_name
    union all
    select sum(bytes)/1024 Kbytes_alloc,
    sum(maxbytes)/1024 Kbytes_max,
    tablespace_name
    from sys.dba_temp_files
    group by tablespace_name )b
    where a.tablespace_name (+) = b.tablespace_name
    Query 3:
    select b.tablespace_name, tbs_size SizeMb, a.free_space FreeMb
    from
    (select tablespace_name, round(sum(bytes)/1024/1024 ,2) as free_space
    from dba_free_space group by tablespace_name) a,
    (select tablespace_name, sum(bytes)/1024/1024 as tbs_size
    from dba_data_files group by tablespace_name
    UNION
    select tablespace_name, sum(bytes)/1024/1024 tbs_size
    from dba_temp_files
    group by tablespace_name ) b
    where a.tablespace_name(+)=b.tablespace_name
    Query 4:
    col "Tablespace" for a22
    col "Used MB" for 99,999,999
    col "Free MB" for 99,999,999
    col "Total MB" for 99,999,999
    select df.tablespace_name "Tablespace",
    totalusedspace "Used MB",
    (df.totalspace - tu.totalusedspace) "Free MB",
    df.totalspace "Total MB",
    round(100 * ( (df.totalspace - tu.totalusedspace)/ df.totalspace))
    "Pct. Free"
    from
    (select tablespace_name,
    round(sum(bytes) / 1048576) TotalSpace
    from dba_data_files
    group by tablespace_name) df,
    (select round(sum(bytes)/(1024*1024)) totalusedspace, tablespace_name
    from dba_segments
    group by tablespace_name) tu
    where df.tablespace_name = tu.tablespace_name ;
    Query 5:
    select t1.tablespace_name,
    sum(decode(t1.autoextensible, 'NO', t1.bytes, 'YES', t1.maxbytes))/1024 max_size,
    sum(nvl(t2.free, 0) + decode(t1.autoextensible, 'NO', 0 , 'YES', t1.maxbytes -
    t1.bytes))/1024 max_free,
    sum(t1.bytes)/1024 current_size,
    sum(nvl(t2.free, 0))/1024 current_free
    from (select file_id, file_name, tablespace_name, bytes, maxbytes, autoextensible from
    dba_data_files) t1
    left outer join
    (select file_id, sum(bytes) free from dba_free_space group by file_id) t2
    on t1.file_id = t2.file_id
    group by tablespace_name
    You can choose from any one or more as your requirement / choice.
    Regards
    Girish

  • Can Flex data visualization sdk be used for free?

    I am not interested in the soure of the data visualization component as such,but I plan to use it(binary) just to create the swf files and deploy on a website. I know that Flex SDK is free. But can i use the data visualization component with the Flex SDK(command line) for free?
    I am actually able to use it and do not see any watermark. Just wanted to make sure its free use is permitted under the license.
    Thanks.

    Thanks for the link Paul.
    I am still a bit confused. Let me clarify a bit more.
    The 'Get the free Flex SDK' link in Flex Homepage (http://www.adobe.com/products/flex/) lists the following downloads:
    1. Adobe Flex 3.4 SDK
    2. Adobe Flex 3.4 Data Visualization Components for Flex Builder
    3. Adobe Flex 3.4 Automation Libraries for Flex Builder
    I downloaded 'Adobe Flex 3.4 SDK' and 'Adobe Flex 3.4 Data Visualization Components for Flex Builder' and unzipped the files, and merged the contents of the two unzipped folders(copied to appropriate folders).
    So now, using the command line mxmlc I can use the chart components and I do not see any watermark.
    And I do not intend to buy Flex Builder as I just use the command line compiler and a simple text editor. So do I still need to pay the cost of Flex Builder professional(for ethical reasons)? Or since I dont use Flex builder, am I permitted to use the data visualization components for free? Technically there is nothing blocking me to use it free, like the need of a license key etc.

  • I can't creat a personal toolbar using conduit free toolbars. What can I do to get this to work?

    I used to have my own toolbar using the free toolbar creation option in www.conduit.com. but once I follow all the steps, hit the "install now" button in the add-on application window, I get an error message saying that I cannot add it because "Firefox cannot modify the needed file." The file it has to modify is: http://ff.conduit-download.com/91/314/CT3149591/Downloads/Firefox/Releases/10.4.2.99/11-11-17-00.49.54.599/munchkinelf.gmail.com634570877991431250.xpi. I get a message saying that the toolbar could not be installed because "Firefox cannot modify the needed file" instead of the usual one that says that the add-on will be enabled once Firefox is restarted.

    You can do a disk check with the chkdsk.exe program.
    If you run the chkdsk.exe program from a cmd.exe Command window then you can read the response from the chkdsk.exe program.
    Open a cmd.exe window:<br />
    Start &gt; Run: cmd.exe &lt;press Enter&gt;
    At the command prompt (>) type or Copy&Paste: chkdsk.exe /f /r &lt;press Enter&gt; (put a space before /f and /r)
    If you get something like: Would you like to schedule this volume to be checked the next time the system restarts? y/n then answer the question with "Y" and close all programs and reboot the computer.
    A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]
    * http://kb.mozillazine.org/Browser_will_not_start_up

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • USE of PREVIOUS command to eliminate duplicate records in counter formula

    i'm trying to create a counter formula to count the number of documents paid over 30 days.  to do this i have to subtract the InvDate from the PayDate.   and then create a counter based on this value.  if {days to pay} is greater than 30 then 1 else 0.
    then sum the {days to pay} field to each group.   groups are company, month, and supplier.
    becuase invoices can have multiple payments and payments can have multiple invoices. there is no way around having duplicate records for the field. 
    so my counter is distorted by by the duplicate records and my percentage of payments over 30 days formula will not be accurate do to these duplicates.
    I've tried Distinct Count based on this formula  if {days to pay} is greater than 30 then . and it works except that is counts 0.00 has a distinct records so my total is off 1 for summaries with a record that (days to pay} is less than or equal to 30.
    if i subract 1 from the formula then it will be inaccurate for summaries with no records over 30 days.
    so i'm come to this.
    if Previous() do not equal
    then
      if {day to days} greater than 30
      then 1
      else 0.00
    else 0.00
    but it doesn't work.  i've sorted the detail section by
    does anyone have any knowledge or success using the PREVIOUS command in a report?
    Edited by: Fred Ebbett on Feb 11, 2010 5:41 PM

    So, you have to include all data and not just use the selection criteria 'PayDate-InvDate>30'?
    You will need to create a running total on the RPDOC ID, one for each section you need to show a count for, evaluating for your >30 day formula. 
    I don't understand why you're telling the formula to return 0.00 in your if statement.
    In order to get percentages you'll need to use the distinct count (possibly running totals again but this time no formula). Then in each section you'd need a formula that divides the two running totals.
    I may not have my head around the concept since you stated "invoices can have multiple payments and payments can have multiple invoices".  So, invoice A can have payments 1, 2 and 3.  And Payment 4 can be associated with invoice B and C?  Ugh.  Still though, you're evaluating every row of data.  If you're focus is the invoices that took longer than 30 days to be paid...I'd group on the invoice number, put the "if 'PayDate-InvDate>30' then 1 else 0" formula in the detail, do a sum on it in the group footer and base my running total on the sum being >0 to do a distinct count of invoices.
    Hope this points you in the right direction.
    Eric

  • Using SUBMIT program command in Background

    Hi,
    I am submitting the program in Background using Submit<program> command.
    Job is getting released but not fininishing(not executing the program) in ECC6.0.
    Same program is working in fine in 4.5b.
    Please let me know if any one faces this situation. Its very urgent.
    Expecting the reply from you soon..
    Thanks
    Regards,
    Raj A

    Hi,
    perhaps you or your admin have configured to less batch-workprocess or they are all configured only for A-class jobs.
    Try to start the job as A-Class job. If the program is executed, then ask your administrator to configure more batch workprocess that are not reserved for A-class jobs.
    Regards,
    Stefan

  • I have use three free apple Id and now when I am creating a fourth time it's saying that it is the maximum. What must I do to create a new apple id. Plz help

    I have use three free apple Id and now when I am creating a fourth time it's saying that it is the maximum. What must I do to create a new apple id. Plz help

    Sorry, no way around this limitation on an iOS device. To use a new iCloud account, you need to create such on a computer first, then setup the account on your iOS device.

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • Saving a pdf file using the print command

    I'm having a problem saving a document to pdf using the print command. I'm using an old version of Adobe. it's Adobe Acrobat 6. it is giving me the following error The instruction at "0x775355b2" referenced memory at "0x775355b2". The memory could not be "read". Could someone please help me resolve this issue. Thank you.

    The OS and release version of the source file's authoring application have a significant impact on use of Acrobat 6.
    For example, Acrobat 8.1 is where Vista support begins.
    With MS Office, Acrobat 6 PDFMaker compatiblility is only for Office 97, 2000, XP, and 2003.
    Be well...

  • 0KB used OKB free

    Hello,  my daughter's ipod nano (4th generation) is no longer recognised on itunes and on its settings it says 0KB used 0KB free !!
    How can I get it working again? I have done the usual restart/restore thing but it just comes back the same once I've entered the language and country
    Thanks,
    Mich

    What happens if you try a low level format of the device using Disk Utility.
    http://www.methodshop.com/gadgets/ipodsupport/erase/
    B-rock

  • Design Question: Can I use Rest-CsPoolRegisterState command in order start Front End Service when Quorum is lost and less than 85% of FES are available?

    Hi, 
    Assuming below setup for Enterprise edition Lync 2013
    Single Pool Stretched architecture with 4 FES servers
    Site A Data Center
    Site B Data Center
    FES
    2
    2
    SQL
    1 Primary
    1 Mirror
    Fact: In a situation when we lose network connectivity to Site A DC, and due to less than 50% FES servers, Quorum will be lost and as a result Front End Service will stop after 5 minutes. 
    The question is, would I be able to do a manual intervention by using this command
    Reset-CsPoolRegistrarState –PoolFqdn <pool name fqdn> –ResetType QuorumLossRecovery , and start FES with just 2 FES servers in Site B DC and 1 SQL
    Server?
    The reason I am asking this question is because it is mentioned in one of the Lync manuals that at least 85% of the servers must be available to recover once the Quorum has lost. The same manual also mentions to use above
    mentioned command in order to recover from Quorum Loss despite the fact that the lost FES servers are still not available.
    Thanks in Advance

    Hi,
    In Lync server 2013 Stretched pools are not supported for the Front End, Edge, Mediation, and Director server roles. It need two Lync pools.
    If one pool fail to connect, An administrator can declare an emergency and fail over the pool to the backup pool.  That is done by using the:
    Invoke-CsPoolFailover –PoolFQDN <Pool fqdn> –DisasterMode –Verbose
    More details:
    http://blog.avtex.com/2012/07/26/understanding-lync-2013-server-failover/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
    found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Do Apple allows the use of ''Free My Apps''?

    Do Apple allows the use of ''Free My Apps''?

    To have the definitive answer you must contact Apple.
    Apple - How to Contact Us
    As an opinion, unless they have specifically blocked it, I cannot see why not.  If it is a worthwhile program is a different matter, remember, here's no such thing as a free lunch.

  • I have been using a free trial of photoshop cc and my computer crashed. Now it says up to date, but the program is not installed anymore. How can I re install it? I already uninstalled creative cloud and re installed it, but the same issue occurs.

    I have been using a free trial of Photoshop cc and my computer crashed. Now it says up to date, but the program is not installed anymore. How can I re install it? I already uninstalled creative cloud and re installed it, but the same issue occurs.

    Hi dmomoney24  ,
    Kindly refer : CC desktop lists applications as "Up to Date" when not installed.
    Please revert if the problem persists.
    Thanks,
    Atul Saini

Maybe you are looking for

  • Oracle9i R2 (9.2.0.2.0), installation problem on RH Linux 3.0 on IA64.

    Hi, While installing Oracle9i release 2 (9.2.0.2.0),on Redhat Linux 3.0 on IA64 itanium processor, Oracle Universal Installer starts and copies some of the files and stops installation at 0% without giving any error. After selecting NO to Create Data

  • No 4:3 aspect ratio option in iMovie 10.0

    iMovie 10 won't let me choose 4:3 as an aspect ratio. Does anyone know how?

  • Multi value error in webi

    Hi, We have 5 Data providers. Merging on Plant Id, Vendor Id, Company Code, Doc Id, Line item id, Material Group Id, Material Id Output on the report Vendor_Id, Vendor_Name, Plant_Id,Plant_Name, Comp_Id, Comp_Name, Order Date, Rec Date I am getting m

  • Master Pages Appearing in Reader 7 but not in Reader 9

    Hi there, We have a requirement to make our forms compatible with Reader 7 but when we open form in that version all Master Pages are visible but only visible in Reader 9 if a particular page is using it.  I don't seem to be able to control the visib

  • Transferring Photos from MacBook Pro to my Tower

    Need a little assistance with this. I would like to transfer the iPhoto library from my laptop to my tower. Is this a simple process? How would I go about doing this? Thank you for your help in advance.