ABAP Memory Usage

Hello,
I am seeking to find the differences in memory usage in the context of statically declaring work areas using the DATA statement and dynamically declaring work areas using data references.
How can i track the amount of memory a ABAP program is consuming at runtime

Hi,
Go to transaction SE30 and check your program.
It will give line by line time / memory consumption of every line of code at runtime.
Hope this helps you.
Cheers,
Venkat

Similar Messages

  • Getting memory usage details in ABAP program

    Hello,
    Is there any method to get the memory used by the program and control the program like restricting the memory usage to some limit or any other control measures which can be taken in the program itself if the memory usage by the program exceeds a maximum limit. Or kindly let me know where i can find the details.

    Hi,
    > Is there any method to get the memory used by the program
    investigate the methods of class cl_abap_memory_utilities (e.g. GET_TOTAL_USED_SIZE)
    >and control the program like restricting the memory usage to some limit
    report rsmemory can change the systemwide quotas
    >or any other control measures which can be taken in the program itself if the memory
    >usage by the program exceeds a maximum limit
    needs to be implemented manually if neede program specific...
    Kind regards,
    Hermann

  • Is there any issue in using ABAP Memory ID to exchange between the programs

    Hi All,
    Do we expect any issues if we use ABAP Memory ID's to exchange the data between different programs?
    I was told by my colleagues that, we can expect some unforeseen issues if we use ABAP Memory ID's. These issues could be because of refresh of Memory ID's in the Standard program.
    Is that true? Need experts opinion on this question.
    Thanks a lot in advance.
    Regards,
    RSS

    I can think of such case only if you pick memory id of some standard name. Anyhow I can't imagine this happens w/o running any standard report on you machine from your custom report. ABAP memory is user dependant so you have your own roll area wherein all run programs can communicate. If you don't run any standard report by means of SUBMIT, you don't have to worry about this aspect either.
    Futhermore if you run separate GUI session, or sinmply use /o in same session, you open new external session which gets its own new ABAP memory. So you don't affect your previous one at all.
    If you want to be extremely careful, use memory id of some custom, original name i.e. I always use such naming convention NAME_OF_PROGRAM_XXXX where XXX denotes its usage i.e. XXX = 'EMPLOYEES'. If I also don't use SUBMIT I am 100% sure no other program touches/flushes this memory.
    Don't believe your collegues and use ABAP memory whenever needed, but always consider context of program and where it lies in the memory. If they persist, please send them here to discuss this matter giving some good reason why they discourage you to do.
    BTW: This could be an issue with SAP Memory, but with ABAP no chance.
    Regards
    Marcin

  • Problem with Firefox and very heavy memory usage

    For several releases now, Firefox has been particularly heavy on memory usage. With its most recent version, with a single browser instance and only one tab, Firefox consumes more memory that any other application running on my Windows PC. The memory footprint grows significantly as I open additional tabs, getting to almost 1GB when there are 7 or 8 tabs open. This is as true with no extensions or pluggins, and with the usual set, (firebug, fire cookie, fireshot, XMarks). Right now, with 2 tabs, the memory is at 217,128K and climbing, CPU is between 0.2 and 1.5%.
    I have read dozens of threads providing "helpful" suggestions, and tried any that seem reasonable. But like most others who experience Firebug's memory problems, none address the issue.
    Firefox is an excellent tool for web developers, and I rely on it heavily, but have now resorted to using Chrome as the default and only open Firefox when I must, in order to test or debug a page.
    Is there no hope of resolving this problem? So far, from responses to other similar threads, the response has been to deny any responsibility and blame extensions and/or pluggins. This is not helpful and not accurate. Will Firefox accept ownership for this problem and try to address it properly, or must we continue to suffer for your failings?

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with scanning and memory usage

    I'm running PS CS3 on Vista Home Premium, 1.86Ghz Intel core 2 processor, and 4GB RAM.
    I realise Vista only sees 3.3GB of this RAM, and I know Vista uses about 1GB all the time.
    Question:
    While running PS, and only PS, with no files open, I have 2GB of RAM, why will PS not let me scan a file that it says will take up 300Mb?
    200Mb is about the limit that it will let me scan, but even then, the actual end product ends up being less than 100Mb. (around 70mb in most cases)I'm using a Dell AIO A920, latest drivers etc, and PS is set to use all avaliable RAM.
    Not only will it not let me scan, once a file I've opened has used up "x" amount of RAM, even if I then close that file, "x" amount of RAM will STILL be unavaliable. This means if I scan something, I have to save it, close PS, then open it again before I can scan anything else.
    Surely this isn't normal. Or am I being stupid and missing something obvious?
    I've also monitored the memory usage during scanning using task manager and various other things, it hardly goes up at all, then shoots up to 70-80% once the 70ishMb file is loaded. Something is up because if that were true, I'd actually only have 1Gb of RAM, and running Vista would be nearly impossible.
    It's not a Vista thing either as I had this problem when I had XP. In fact it was worse then, I could hardly scan anything, had to be very low resolution.
    Thanks in advance for any help

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • Problem with JTree and memory usage

    I have problem with the JTree when memory usage is over the phisical memory( I have 512MB).
    I use JTree to display very large data about structure organization of big company. It is working fine until memory usage is over the phisical memory - then some of nodes are not visible.
    I hope somebody has an idea about this problem.

    55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
    And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
    Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.

  • High memory usage when many tabs are open (and closed)

    When I open Firefox the memory usage is about 70-100 MB RAM. When I'm working with Firefox I often open 15-20 tabs at once, then I close them and open others. Memory usage increaes up to 450 - 500 MB RAM. After closing the tabs the usage usually decreases, but after sometime. It starts decreasing very slow and never comes back to the level from the beginning. After few hours of work Firefox uses about 400 MB RAM even if one tab is open. First I thought it's because of my plugins (Firebug, Speed Dial, Adlock Plus) but I've checked it and it's not. I reinstalled Firefox but the problem occurs as well. I'm not sure if it's normal. Could you help me, please?

    Hi,
    Not an exact answer but please [http://kb.mozillazine.org/Reducing_memory_usage_(Firefox) see this.] The KB article ponders through various general situations which may or may not be applicable to specific instances but nevertheless could be helpful.
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://addons.mozilla.org/en-US/firefox/addon/whats-that-preference/ What's That Preference? add-on] - Quickly decode about:config entries - After installation, go inside about:config, right-click any preference, enable (tick) MozillaZine Results to Panel and again right-click a pref and choose MozillaZine Reference to begin with.
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions/Add-ons]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]

  • Memory usage of excel stays high after Macro is executed and excel crashes after trying to close it

    Hi,
    I'm trying to resolve an issue with an excel based tool. The macros retrieve data from an Oracle database and do calculations with the data. They also open and write into files in the same directory. The macros all run and finish the calculations. I can
    continue to use and modify the sheet. I can also close the workbook, however excel memory usage I see in the windows Task manager stays elevated.If I  close Excel it says: Excel stopped working and then it tries to recover information...
    I assume something in the macro did not finish properly and memory was not released. I would like to check what is still open (connection, stream or any other object) when I close the workbook I would like to have a list of all still used memory. Is there
    a possibility to do so.
    Here the code I'm using, its reduced to functions which open something. Functions   
    get_v_tools() and get_change_tools() are same as get_client_positions().
    Public conODBC As New ADODB.Connection
    Public myPath As String
    Sub get_positions()
    Dim Src As range, dst As range
    Dim lastRow As Integer
    Dim myPath As String
    lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
    Sheets("SQL_DATA").range("A2:AD" & lastRow + 1).ClearContents
    Sheets("SQL_DATA").range("AG2:BE" & lastRow + 2).ClearContents
    Sheets("SQL_DATA").range("AE3:AF" & lastRow + 2).ClearContents
    k = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    Sheets("ToolsList").range("A2:M" & k).ClearContents
    'open connection
    Call open_connection
    lastRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row
    If lastRow < 2 Then GoTo ErrorHandling
    'copy bs price check multiplications
    Set Src = Sheets("SQL_DATA").range("AE2:AF2")
    Set dst = Worksheets("SQL_DATA").range("AE2").Resize(lastRow - 1, Src.columns.Count)
    dst.Formula = Src.Formula
    On Error GoTo ErrorHandling
    'new prices are calculated
    newPrice_calculate (lastRow)
    Calculate
    myPath = ThisWorkbook.Path
    'Refresh pivot table in Position Manager
    Sheets("Position Manager").PivotTables("PivotTable3").ChangePivotCache ActiveWorkbook. _
    PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
    myPath & "\[Position_Manager_v1.0.xlsm]SQL_DATA!R1C2:R" & lastRow & "C31" _
    , Version:=xlPivotTableVersion14)
    ErrorHandling:
    Set Src = Nothing
    Set dst = Nothing
    If conODBC.State <> 0 Then
    conODBC.Close
    End If
    End Sub
    Sub open_connection()
    Dim sql_data, sql_data_change, sql_data_v As Variant
    Dim wdth, TotalColumns, startRow As Integer
    Dim rst As New ADODB.Recordset
    Errorcode = 0
    On Error GoTo ErrorHandling
    Errorcode = 1
    With conODBC
    .Provider = "OraOLEDB.Oracle.1"
    .ConnectionString = "Password=" & pswrd & "; Persist Security Info=True;User ID= " & UserName & "; Data Source=" & DataSource
    .CursorLocation = adUseClient
    .Open
    .CommandTimeout = 300
    End With
    startRow = Sheets("SQL_DATA").Cells(Sheets("SQL_DATA").rows.Count, "A").End(xlUp).Row + 1
    sql_data = get_client_positions(conODBC, rst)
    wdth = UBound(sql_data, 1)
    Sheets("SQL_DATA").range("A" & startRow & ":AA" & wdth + startRow - 1).Value = sql_data
    'Run change tools instruments
    startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    sql_data_change = get_change_tools(conODBC, rst)
    wdth = UBound(sql_data_change, 1)
    Sheets("ToolsList").range("A" & startRow & ":M" & wdth + startRow - 1).Value _
    = sql_data_change
    'open SQL for V tools instruments
    startRow = Sheets("ToolsList").Cells(Sheets("ToolsList").rows.Count, "A").End(xlUp).Row + 1
    sql_data_v = get_v_tools(conODBC, rst)
    wdth = UBound(sql_data_v, 1)
    Sheets("ToolsList").range("A" & startRow & ":L" & startRow + wdth - 1).Value = sql_data_v
    conODBC.Close
    ErrorHandling:
    If rst.State <> 0 Then
    rst.Close
    End If
    Set rst = Nothing
    End Sub
    Private Function get_client_positions(conODBC As ADODB.Connection, rst_posi As ADODB.Recordset) As Variant
    Dim sql_data As Variant
    Dim objCommand As ADODB.Command
    Dim sql As String
    Dim records, TotalColumns As Integer
    On Error GoTo ErrorHandling
    Set objCommand = New ADODB.Command
    sql = read_sql()
    With objCommand
    .ActiveConnection = conODBC 'connection for the commands
    .CommandType = adCmdText
    .CommandText = sql 'Sql statement from the function
    .Prepared = True
    .CommandTimeout = 600
    End With
    Set rst_posi = objCommand.Execute
    TotalColumns = rst_posi.Fields.Count
    records = rst_posi.RecordCount
    ReDim sql_data(1 To records, 1 To TotalColumns)
    If TotalColumns = 0 Or records = 0 Then GoTo ErrorHandling
    If TotalColumns <> 27 Then GoTo ErrorHandling
    If rst_posi.EOF Then GoTo ErrorHandling
    l = 1
    Do While Not rst_posi.EOF
    For i = 0 To TotalColumns - 1
    sql_data(l, i + 1) = rst_posi.Fields(i)
    Next i
    l = l + 1
    rst_posi.MoveNext
    Loop
    ErrorHandling:
    rst_posi.Close
    Set rst_posi = Nothing
    Set objCommand = Nothing
    get_client_positions = sql_data
    End Function
    Private Function read_sql() As String
    Dim sqlFile As String, sqlQuery, Line As String
    Dim query_dt As String, client As String, account As String
    Dim GRP_ID, GRP_SPLIT_ID As String
    Dim fso, stream As Object
    Set fso = CreateObject("Scripting.FileSystemObject")
    client = Worksheets("Cover").range("C9").Value
    query_dt = Sheets("Cover").range("C7").Value
    GRP_ID = Sheets("Cover").range("C3").Value
    GRP_SPLIT_ID = Sheets("Cover").range("C5").Value
    account = Sheets("Cover").range("C11").Value
    sqlFile = Sheets("Cover").range("C15").Value
    Open sqlFile For Input As #1
    Do Until EOF(1)
    Line Input #1, Line
    sqlQuery = sqlQuery & vbCrLf & Line
    Loop
    Close
    ' Replace placeholders in the SQL
    sqlQuery = Replace(sqlQuery, "myClent", client)
    sqlQuery = Replace(sqlQuery, "01/01/9999", query_dt)
    sqlQuery = Replace(sqlQuery, "54747743", GRP_ID)
    If GRP_SPLIT_ID <> "" Then
    sqlQuery = Replace(sqlQuery, "7754843", GRP_SPLIT_ID)
    Else
    sqlQuery = Replace(sqlQuery, "AND POS.GRP_SPLIT_ID = 7754843", "")
    End If
    If account = "ZZ" Then
    sqlQuery = Replace(sqlQuery, "AND AC.ACCNT_NAME = 'ZZ'", "")
    Else
    sqlQuery = Replace(sqlQuery, "ZZ", account)
    End If
    ' Create a TextStream to check SQL Query
    sql = sqlQuery
    myPath = ThisWorkbook.Path
    Set stream = fso.CreateTextFile(myPath & "\SQL\LastQuery.txt", True)
    stream.Write sql
    stream.Close
    Set fso = Nothing
    Set stream = Nothing
    read_sql = sqlQuery
    End Function

    Thanks Starain,
    that's what I did the last days and found that the problem is in the
    newPrice_calculate (lastRow)
    function. This function retrieves data (sets it as arrays) which was correctly pasted into the sheet, loops through all rows and does math/calendar calculations with cell values using an Add-In("Quantlib")
    Public errorMessage as String
    Sub newPrice_calculate(lastRow)
    Dim Type() As Variant
    Dim Id() As Variant
    Dim Price() As Variant
    Dim daysTo() As Variant
    Dim fx() As Variant
    Dim interest() As Variant
    Dim ObjCalend as Variant
    Dim newPrice as Variant
    On Error GoTo Catch
    interest = Sheets("SQL_DATA").range("V2:V" & lastRow).Value
    Type = Sheets("SQL_DATA").range("L2:L" & lastRow).Value Id = Sheets("SQL_DATA").range("M2:M" & lastRow).Value Price = Sheets("SQL_DATA").range("T2:T" & lastRow).Value
    daysTo = Sheets("SQL_DATA").range("K2:K" & lastRow).Value
    fx = Sheets("SQL_DATA").range("U2:U" & lastRow).Value
    qlError = 1
    For i = 2 To lastRow
    If (i, 1) = "LG" Then
    'set something - nothing spectacular like
    interest(i, 1) = 0
    daysTo(i , 1) = 0
    Else
    adjTime = Sqr(daysTo(i, 1) / 365)
    ObjCalend(i,1) =Application.Run("qlCalendarHolidaysList", _
    "CalObj", ... , .... other input parameters)
    If IsError(ObjCalend(i,1)) Then GoTo Catch
    'other calendar calcs
    newPrice(i,1) = Application.Run( 'quantLib calcs)
    End If
    Catch:
    Select Case qlError
    Case 1
    errorMessage = errorMessage & " QuantLibXL Cal Error at: " & i & " " & vbNewLine & Err.Description
    ObjCalend(i,1) (i, 1) = "N/A"
    End Select
    Next i
    Sheets("SQL_DATA").range("AB2:AB" & lastRow).Value = newPrice
    'Sheets("SQL_DATA").range("AA2:AA" & lastRow).Value = daysTo
    ' erase and set to nothing all arrays and objects
    Erase Type
    Erase id
    Erase Price
    Set newPrice = Nothing
    Is there a possibility to clean everything in:
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    End Sub
    Thanks in advance
    Mark

  • TOP - Pageouts and memory usage.

    Looks like I have plenty of memory for what I am doing. But What do the cumulative numbers around pagein's mean?
    Processes: 80 total, 7 running, 3 stuck, 70 sleeping... 523 threads 15:20:14
    Load Avg: 1.99, 1.53, 1.37 CPU usage: 10.33% user, 9.00% sys, 80.67% idle
    SharedLibs: num = 5, resident = 13M code, 0 data, 1468K linkedit.
    MemRegions: num = 32848, resident = 2116M + 18M private, 877M shared.
    PhysMem: 1853M wired, 2116M active, 3466M inactive, 7439M used, 753M free.
    VM: 19G + 284M 332461(0) pageins, 47(0) pageouts
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE
    12256 top 11.1% 0:14.05 1 18 40 684K 820K 1392K 18M
    12238 bash 0.0% 0:00.01 1 14 19 276K 184K 916K 18M
    12237 login 0.0% 0:00.02 1 17 136 908K 8724K 3164K 32M
    12236 Terminal 1.7% 0:01.45 3 99 433 5264K+ 49M+ 21M+ 419M+
    12225 SyncServer 0.0% 0:00.15 2 50 290 3512K 41M 12M 88M
    11248 WinAppHelp 0.0% 0:00.40 1 51 289 3208K 40M 11M 339M
    11027 Skype 0.0% 0:19.47 31 313 865 46M 76M 88M 557M
    10315 PrinterPro 0.0% 0:00.83 2 85 476 12M 51M 29M 423M
    10313 launchd 0.0% 0:01.25 3 24 25 120K 296K 464K 18M
    8626 QuickTime 0.0% 17:21.09 5 187 655 13M 67M 43M 486M
    8556 DashboardC 0.0% 0:06.31 4 124 538 16M 58M 38M 436M
    8555 DashboardC 0.0% 0:10.95 4 149 545 23M 58M 49M 444M
    8534 Livestatio 16.8% 59:00.13 12 198 771 30M- 94M 62M 584M
    8220 Mail 0.0% 0:43.91 27 323 968 24M 94M 80M 554M
    2806 Python 0.8% 5:20.05 2 33 281 13M- 248K 14M- 36M-
    2761 Transmissi 0.9% 2:49.17 21 270 773 20M 90M 56M 506M

    About OS X Memory Management and Usage
    Reading system memory usage in Activity Monitor
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • MS Minimize and memory usage

    Hi,
    I noticed that if you minimize your dos window, your memory usage ( as shown in Windows task manager ) drops a lot. E.g. I have Tomcat running ( 15 MB usage ). When I minimize the Tomcat DOS window, the memory usage shows something like 160kB. Any ideas. What is the real usage ?
    Regards,
    Dieter Janssen

    When you minimize the window Java will run a garbage collection. But also be aware of that the memory usage in Windows task manager is shown in both the Mem Usage column and the VM Size column (you maybe need to add this to your Task manager).
    I hope this will help you!
    /Michael

  • Get CPU and memory usage

    Hi!
    I would like to know if there is any way of getting system CPU and memory usage using Java code.

    I want to get the system CPU and memory usage using the performance monitor dll, the perfctrs.dll, but access this data using Java language.Then you should create wrapper dll between your java code and perfctrs.dll and convert data from format of dll to format of your java code.
    So, that is next question - how to create wrapper dll, how to deal with or how perfctrs.dll works?

  • Memory Usage.

    Good day to you all,
    Im using the miracl library for my program(www.shamus.ie). it is a c/c++ library
    I compiled its dll and made it run on windows.
    i also compiled it on linux but i didnt use the exact source codes because there are differences in compiling in linux.
    my problem is that memory usage on windows is 4mb per client while on linux, it is 23mb per client.
    Is it because i compiled the linux version wrong?
    should windows memory usage be way lower than linux memory usage?
    should i run my app on a linux or windows?
    Is JNI really faster on windows?
    Thanks
    -Aldrich
    Message was edited by:
    Aldrich

    Good day to you all,
    Im using the miracl library for my program(www.shamus.ie). it is a c/c++ library
    I compiled its dll and made it run on windows.
    i also compiled it on linux but i didnt use the exact source codes because there are differences in compiling in linux.
    my problem is that memory usage on windows is 4mb per client while on linux, it is 23mb per client.
    Is it because i compiled the linux version wrong?
    should windows memory usage be way lower than linux memory usage?
    should i run my app on a linux or windows?
    Is JNI really faster on windows?
    Thanks
    -Aldrich
    Message was edited by:
    Aldrich

  • Memory usage problem on AIX 7.1

    Hi,
    We are running Oracle 11GR2 EE on AIX 7.1 and keep getting alerts on the pgchecks (memory paging).
    The alerts are coming from another system monitoring tool (Hobbit), but our sys admins are telling us it is because we are overallocating memory.
    In our case, we have an 8G SGA for the only database.
    Then, we are running grid and ASM.
    How can I check the actual (real) memory usage by individual processes of our Oracle database, our emagent (OMS agent), and for our ASM. In our case, we have 32G of Real Memory installed, and we should not be having a memory paging issue.
    For the Oracle database, it is set for 8G.
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pga_aggregate_target                 big integer 0
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 8480M
    sga_target                           big integer 0For our ASM instance, it is set for 270M
    SQL> sho sga
    NAME                                 TYPE        VALUE
    lock_sga                             boolean     FALSE
    pga_aggregate_target                 big integer 0
    sga_max_size                         big integer 272M
    sga_target                           big integer 0

    do as below (vmstat takes 2 minutes to complete)
    bcm@bcm-laptop:~$ vmstat 6 20
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
    0  0      0 1347636  81396 1592120    0    0   264    22  382  651  8  3 84  5
    0  0      0 1347664  81404 1592144    0    0     0    13  515 1028  4  1 95  0
    0  0      0 1353136  81412 1592144    0    0     0    14  507 1021  3  1 95  0
    0  0      0 1353012  81420 1592144    0    0     0    23  523 1033  3  1 95  0
    0  0      0 1353044  81428 1592144    0    0     0    13  513 1026  3  1 96  0
    0  0      0 1353044  81436 1592144    0    0     0    15  517 1045  3  2 95  0
    0  0      0 1352920  81444 1592144    0    0     0    15  505 1012  3  1 96  0
    1  0      0 1347448  81452 1592156    0    0     1    21  521 1038  4  2 94  0
    0  0      0 1347448  81460 1592156    0    0     0    28  513 1030  3  2 95  0
    0  0      0 1347448  81468 1592180    0    0     1    21  529 1053  4  1 95  0
    0  0      0 1347200  81484 1592176    0    0     0    39  530 1067  3  2 95  0
    1  0      0 1347200  81492 1592172    0    0     0    14  530 1058  3  1 96  0
    0  0      0 1352796  81500 1592172    0    0     0    17  514 1034  3  2 95  0
    0  0      0 1352796  81508 1592180    0    0     0    21  516 1049  6  1 92  0
    0  0      0 1352764  81516 1592180    0    0     0    15  506 1024  2  1 95  1
    0  0      0 1352252  81524 1592180    0    0     0    15  563 1090  3  2 95  0
    0  0      0 1351836  81532 1592180    0    0     0    15  550 1066  4  1 94  0
    0  0      0 1346768  81540 1592200    0    0     1    18  547 1111  4  2 94  0
    1  0      0 1346152  81548 1592204    0    0     0    69  524 1059  3  2 94  0
    0  0      0 1346472  81556 1592244    0    0     1    17  498 1012  2  1 96  0

  • Tracking Memory usage on iOS using the Stats class

    I've been checking memory usage on an app I'm developing for iOS using the Stats class https://github.com/mrdoob/Hi-ReS-Stats ( http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c3-315cd077124319488fd-7fff.html#WS 948100b6829bd5a61637f0a412623fd0543-8000).
    I added the Stats class to my project and redeployed and, yikes, memory usage reported in Stats creeps up (pretty slowly) even when there's nothing happening in the app (just showing a loaded bitmap).
    To try and track down the issue I created a project with a test class that extends Sprite with just this single call in the constructor :-
    addChild( new Stats() );
    I deployed it to the device to check that it didn't gobble any memory.
    But I was Suprised to watch the memory usage creep up and up (to approx 5) before some garbage collection kicked in and takes memory back down. I left it running and then it crept up again to over 7.5 this time before being kicked back down to just below 3.
    So 2 related questions that I'd appreciate any feedback/observations/thoughts on :-
    1 - Is this normal (i.e. memory creeping up when there's nothing other than Stats in the project) ?
    2 - What is the best way to monitor memory usage within an app ? Is Stats good enough - is Stats itself causing the memory usage ?
    All the best guys !

    Also see thread (http://forums.adobe.com/message/4280020#4280020)
    My conclusions are :-
    - If you run an app and leave it idle, memory usage gradually creeps up (presumably as memory is being used to perform calcs/refresh the display etc)
    - Periodically the garbage collection kicks in and memory is brought back down
    - This cycle could be in excess of 5 mins
    Run with your real app and memory will increase and be released much more rapidly/regularly.
    - It's probably worth performing initial checks by running on your desktop to iron out any initial problems

  • Memory Usage And Hard Drive Activity Increase After Latest Upgrade

    I have upgraded to Firefox 3.6.15 and latest Adobe Flash Player. Then i noticed that plugin-container started to take a lot of memory as much as Firefox itself totaling around 600Mb. Then i see hard drive activity intermittently slowing down my laptop and making it unresponsive for a short period of time. I have 50 tabs open. I have disabled Flash and since then plugin-container takes very little memory and i don't see consistent hard drive activity.
    I need Flash and i don't want to disable it. Is there a solution to this?

    I am seeking solutions for same problem.  When playing simple online games such as solitaire my memory usage for the plug in container is 300-600 mb while FireFox may only be 80-120 (with several windows or tabs open of mostly text pages). If I disable Adobe add-ons memory usage is greatly reduced. If I understood correctly it is possible to disable the plugin container and run adobe via the old method and another user thought that would solve the problem. I do not understand how it would make a difference but if you havent found a solution you may want to try it.  See these 2 threads in the Mozilla forum:
    A question and brief  explanation  and   how to disable plugin container in config
    I've previously had problems with Adobe crashing Firefox . At least now with Adobe being in the plugin container Firefox does not crash along with it.
    I have another issue - I can sometimes still hear the music from a game after I have exited the game and closed the window. I would like to know how to release the resources used by Adobe - kind of like FireFox's RamBack.
    Well, good luck to you (and me!)

Maybe you are looking for

  • New Project - New Problems or The day the Reaper died

    Ok, this is more like telling a story than a cry for help. The story is about a new project, new (great) results and the disaster that followed. Well story starts October 21st with me upgrading rig 1 with new parts. They came for my Opteron165 setup

  • App Certification Fails While uploading into Windows Phone Store..

    Hi Everyone, I am facing an issue from last few days and stuck badly . Whenever i am uploading my app in windows phone store getting the below error for everytime.. Your app submission does not include a privacy policy. Apps that use, collect, or sha

  • 9i JDeveloper, nullPointerException, thin driver to 9i on Linux-Help

    Environment Win2K with 9i client software. I have 9i JDeveloper configured on a Win2K machine such that it can connect to a Solaris 8 environment running 9i using a thin JDBC driver via the connections in the JDeveloper navigator. It works fine. I ca

  • Odd List Order in the Paragraph Catalog

    I set up the paragraph catalog in FrameMaker 8, running on Windows XP. All listings were in alphabetical order, top-to-bottom. After logging on to the computer with a new user account and starting up FM, the paragraph catalog re-ordered itself into a

  • IDVD slideshow photo resolution

    iMac G5   Mac OS X (10.4.3)   From previous posts, it seems that iDVD photo resolution is always less than viewing a iPhoto slideshow while in that application. So here is my question: When I use the option of sharing the photos, iDVD creates a "slid