Runtime errors: TSV_TNEW_PAGE_ALLOC_FAILED

Hi,
When I am trying to check the consistency of background jobs in SM65, It is throwig a runtime error TSV_TNEW_PAGE_ALLOC_FAILED. Kindly look into the below text message from ST22.
ShrtText
    No storage space available for extending an internal table.
What happened?
    You attempted to extend an internal table, but the required space was
    not available.
What can you do?
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Try to find out (e.g. by targetted data selection) whether the
    transaction will run with less main memory.
    If there is a temporary bottleneck, execute the transaction again.
    If the error persists, ask your system administrator to check the
    following profile parameters:
    o  ztta/roll_area            (1.000.000 - 15.000.000)
           Classic roll area per user and internal mode
           usual amount of roll area per user and internal mode
    o  ztta/roll_extension       (10.000.000 - 500.000.000)
o  abap/heap_area_total      (100.000.000 - 1.500.000.000)
       Amount of memory (malloc) for all users of an application
       server. If several background processes are running on
       one server, temporary bottlenecks may occur.
       Of course, the amount of memory (in bytes) must also be
       available on the machine (main memory or file system swap).
       Caution:
       The operating system must be set up so that there is also
       enough memory for each process. Usually, the maximum address
       space is too small.
       Ask your hardware manufacturer or your competence center
       about this.
       In this case, consult your hardware vendor
abap/heap_area_dia:        (10.000.000 - 1.000.000.000)
       Restriction of memory allocated to the heap with malloc
       for each dialog process.
Parameters for background processes:
abap/heap_area_nondia:        (10.000.000 - 1.000.000.000)
       Restriction of memory allocated to the heap with malloc
       for each background process.
Other memory-relevant parameters are:
em/initial_size_MB:         (35-1200)
       Extended memory area from which all users of an
       application server can satisfy their memory requirement.
Error analysis
The internal table "IT_18" could not be enlarged further. To allow
error handling, the table had to be deleted before this log was
created. So, if you branch to the ABAP debugger from the display
of this log, the table will there be displayed with 0 rows.
At the moment of the termination, the following data was
determined for the respective internal table:
Storage location: "Session memory"
Row width: 1296
Number of rows: 1166120
Allocated rows: 1166120
Newly requested rows: 8 (in 1 blocks)
           Last error logged in SAP kernel
Component............ "EM"
Place................ "SAP-Server ord-sapprd_PRD_00 on host ord-sapprd (wp 0)"
Version.............. 37
Error code........... 7
Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "
Description.......... " "
System call.......... " "
Module............... "emxx.c"
Line................. 1878
How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 1709536
    Extended memory (EM)........... 408685712
    Assigned memory (HEAP)......... 1190561024
    Short area..................... " "
    Paging area.................... 57344
    Maximum address space.......... " "
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "TSV_TNEW_PAGE_ALLOC_FAILED" C
    "SAPLSBPT" or "LSBPTFXX"
    "DO_TBTCO_CONSISTENCY_CHECK"
    If you cannot solve the problem yourself and you wish to send
    an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
   To obtain this, select in the current display "System->List->
   Save->Local File (unconverted)".
2. A suitable printout of the system log
   To obtain this, call the system log through transaction SM21.
   Limit the time interval to 10 minutes before and 5 minutes
   after the short dump. In the display, then select the function
   "System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
   supply the source code.
   To do this, select the Editor function "Further Utilities->
   Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
   or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "ord-sapprd"
Network address.......... "10.31.18.27"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "16x Intel 80158"
Character length......... 16 Bits
Pointer length........... 32 Bits
Work process number...... 0
Kindly suggest me the options ASAP as this is happened in the production system.
Thanks in advance,
Suneetha Reddy

Hi Sunnetha,
SM65 is a resource hungry tcode, and always suggested to run during a off-business hours. Try to run when there is not much acvitity going on in the system.
I'm not very much sure, but please check how many entries there in TBTCO table. as the dump gives indication of
DO_TBTCO_CONSISTENCY_CHECK.
Check RSBTCDEL(2) program is running daily or not. This runs as a background job to delete the old job information from the tables TBTC*. If this has not run, then you can run and delete older job logs and then retry.
Which system you're using? ECC or BW??
Note - parameter settings of BW largely varies from that of a ECC system.
Thanks,
Debasis.

Similar Messages

  • Runtime Errors TSV_TNEW_PAGE_ALLOC_FAILED during extraction

    Hi,
    Anyone knows what the solution is to this problem:
    Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED
    |Short text                                                                                |
    |    No more storage space available for extending an internal table.                              |
    |What happened?                                                                                |
    |    You attempted to extend an internal table, but the required space was                         |
    |    not available
    |Error analysis                                                                                |
    |    The internal table "\FUNCTION=CRM_UPLOAD_BTMBDOC_FILL\DATA=ET_BILLPLAN_D" could               |
    |     not be further extended. To enable                                                           |
    |    error handling, the table had to be delete before this log was written.                       |
    |    As a result, the table is displayed further down or, if you branch to                         |
    |    the ABAP Debugger, with 0 rows.                                                               |
    |                                                                                |
    |    At the time of the termination, the following data was determined for                         |
    |    the relevant internal table:                                                                  |
    |                                                                                |
    |    Memory location: "Session memory"                                                             |
    |    Row width: 1908                                                                               |
    |    Number of rows: 35912                                                                         |
    |    Allocated rows: 35912                                                                         |
    |    Newly requested rows: 8 (in 1 blocks)                                                         |
    |    Last error logged in SAP kernel                                                               |
    |                                                                                |
    |    Component............ "EM"                                                                    |
    |    Place................ "xxx"                   |
    |    Version.............. 37                                                                      |
    |    Error code........... 7                                                                       |
    |    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "                  |
    |    Description.......... " "                                                                     |
    |    System call.......... " "                                                                     |
    |    Module............... "emxx.c"                                                                |
    |    Line................. 1897                                                                    |
    |                                                                                |
    |    The error reported by the operating system is:                                                |
    |    Error number..... " "                                                                         |
    |    Error text....... " "                                                                         |
    |How to correct the error                                                                          |
    |    The amount of storage space (in bytes) filled at termination time was:                        |
    |                                                                                |
    |    Roll area...................... 6221152                                                       |
    |    Extended memory (EM)........... 1826778184                                                    |
    |    Assigned memory (HEAP)......... 2000035456                                                    |
    |    Short area..................... " "                                                           |
    |    Paging area.................... 73728                                                         |
    |    Maximum address space.......... 4294967295                                                    |
    |                                                                                |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                |
    |                                                                                |
    |    "TSV_TNEW_PAGE_ALLOC_FAILED" " "                                                              |
    |    "SAPLCRM_UPLOAD_BTMBDOC" or "LCRM_UPLOAD_BTMBDOCF36"                                          |
    |    "FILL_BILLPLAN"                                                                               |
    |                                                                                |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                |
    |    1. The description of the current problem (short dump)                                        |
    |                                                                                |
    |       To save the description, choose "System->List->Save->Local File                            |
    |    (Unconverted)".                                                                               |
    |                                                                                |
    |    2. Corresponding system log                                                                   |
    |                                                                                |
    |       Display the system log by calling transaction SM21.                                        |
    |       Restrict the time interval to 10 minutes before and five minutes                           |
    |    after the short dump. Then choose "System->List->Save->Local File                             |
    |    (Unconverted)".                                                                               |
    |                                                                                |
    |    3. If the problem occurs in a problem of your own or a modified SAP                           |
    |    program: The source code of the program                                                       |
    |       In the editor, choose "Utilities->More                                                     |
    |    Utilities->Upload/Download->Download".                                                        |
    |                                                                                |
    |    4. Details about the conditions under which the error occurred or which                       |
    |    actions and input led to the error.                                                           |
    |                                                                                |

    Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED
    Short text
    No more storage space available for extending an internal table
    |What happened?
    |    You attempted to extend an internal table, but the required space was
    |    not available.
    |Error analysis                                                                                |
    |    The internal table "\FUNCTION=CRM_UPLOAD_BTMBDOC_FILL\DATA=ET_BILLPLAN_D" could
    |     not be further extended. To enable
    |    error handling, the table had to be delete before this log was written.                       |
    |    As a result, the table is displayed further down or, if you branch to                         |
    |    the ABAP Debugger, with 0 rows.                                                               |
    |                                                                                |
    |    At the time of the termination, the following data was determined for                         |
    |    the relevant internal table:                                                                  |
    |                                                                                |
    |    Memory location: "Session memory"                                                             |
    |    Row width: 1908                                                                               |
    |    Number of rows: 35912                                                                         |
    |    Allocated rows: 35912                                                                         |
    |    Newly requested rows: 8 (in 1 blocks)                                                         |
    |    Last error logged in SAP kernel                                                               |
    |                                                                                |
    |    Component............ "EM"                                                                    |
    |    Place................ "SAP-Server XXXX"                   |
    |    Version.............. 37                                                                      |
    |    Error code........... 7                                                                       |
    |    Error text........... "Warning: EM-Memory exhausted: Workprocess gets PRIV "                  |
    |    Description.......... " "                                                                     |
    |    System call.......... " "                                                                     |
    |    Module............... "emxx.c"                                                                |
    |    Line................. 1897                                                                    |
    |                                                                                |
    |    The error reported by the operating system is:                                                |
    |    Error number..... " "                                                                         |
    |    Error text....... " "                                                                         |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |How to correct the error                                                                          |
    |    The amount of storage space (in bytes) filled at termination time was:                        |
    |                                                                                |
    |    Roll area...................... 6221152                                                       |
    |    Extended memory (EM)........... 1826778184                                                    |
    |    Assigned memory (HEAP)......... 2000035456                                                    |
    |    Short area..................... " "                                                           |
    |    Paging area.................... 73728                                                         |
    |    Maximum address space.......... 4294967295                                                    |
    |                                                                                |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                |
    |                                                                                |
    |    "TSV_TNEW_PAGE_ALLOC_FAILED" " "                                                              |
    |    "SAPLCRM_UPLOAD_BTMBDOC" or "LCRM_UPLOAD_BTMBDOCF36"                                          |
    |    "FILL_BILLPLAN"                                                                               |
    |                                                                                |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                |
    |    1. The description of the current problem (short dump)                                        |
    |                                                                                |
    |       To save the description, choose "System->List->Save->Local File                            |
    |    (Unconverted)".                                                                               |
    |                                                                                |
    |    2. Corresponding system log                                                                   |
    |                                                                                |
    |       Display the system log by calling transaction SM21.                                        |
    |       Restrict the time interval to 10 minutes before and five minutes                           |
    |    after the short dump. Then choose "System->List->Save->Local File                             |
    |    (Unconverted)".                                                                               |
    |                                                                                |
    |    3. If the problem occurs in a problem of your own or a modified SAP                           |
    |    program: The source code of the program                                                       |
    |       In the editor, choose "Utilities->More                                                     |
    |    Utilities->Upload/Download->Download".                                                        |
    |                                                                                |
    |    4. Details about the conditions under which the error occurred or which                       |
    |    actions and input led to the error.                                                           |
    |                                                                                |

  • Report MB5L giving runtime error TSV_TNEW_PAGE_ALLOC_FAILED

    Hi,
    While running the Report MB5L we are getting the runtime
    error "TSV_TNEW_PAGE_ALLOC_FAILED"
    We tried to schedule this report at non-peak hours but it again got
    terminated with same error.
    We are using 12GB of RAM.
    ztta/roll_area 6500000
    ztta/roll_extension 4000317440
    abap/heap_area_total 3001024512
    abap/heap_area_dia: 5000683008
    abap/heap_area_nondia: 2000000000
    em/initial_size_MB: 8192
    Please find the attached screenshot of ST22 dump analysis.
    Regards,
    Prashant
    Edited by: Prashant Shukla on Feb 25, 2009 11:10 AM

    Hi Juan,
    Pls find the details below-:
    Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED                                                  
    Date and Time          24.02.2009 23:31:32                                                                               
    Short text                                                                               
    No more storage space available for extending an internal table.                              
    What happened?                                                                               
    You attempted to extend an internal table, but the required space was                         
        not available.                                                                               
    If the error persists, ask your system administrator to check the                             
        following profile parameters:                                                                               
    Error analysis                                                                               
    The internal table "\FUNCTION=MBEW_EXTEND\DATA=SEARCH_MBEWH_TAB[]" could not be               
         further extended. To enable                                                                  
        error handling, the table had to be delete before this log was written.                       
        As a result, the table is displayed further down or, if you branch to                         
        the ABAP Debugger, with 0 rows.                                                                               
    At the time of the termination, the following data was determined for                         
        the relevant internal table:                                                                               
    Memory location: "Session memory"                                                             
        Row width: 372                                                                               
    Number of rows: 354608                                                                        
        Allocated rows: 354608                                                                        
        Newly requested rows: 32 (in 1 blocks)                                                        
    How to correct the error                                                                               
    The amount of storage space (in bytes) filled at termination time was:                                                                               
    Roll area...................... 6203136                                                       
        Extended memory (EM)........... 4001304840                                                    
        Assigned memory (HEAP)......... 2000059568                                                    
        Short area..................... " "                                                           
        Paging area.................... 32768                                                         
        Maximum address space.......... 18446697160833538863                                                                               
    If the error occures in a non-modified SAP program, you may be able to                        
        find an interim solution in an SAP Note.                                                      
        If you have access to SAP Notes, carry out a search with the following                        
        keywords:                                                                               
    "TSV_TNEW_PAGE_ALLOC_FAILED" " "                                                              
        "SAPLMG27" or "LMG27F02"                                                                      
        "SEARCH_EXIT"                                                                               
    If you cannot solve the problem yourself and want to send an error                            
        notification to SAP, include the following information:                                                                               
    1. The description of the current problem (short dump)                                                                               
    To save the description, choose "System->List->Save->Local File                            
        (Unconverted)".                                                                               
    2. Corresponding system log                                                                               
    Display the system log by calling transaction SM21.                                        
           Restrict the time interval to 10 minutes before and five minutes                           
        after the short dump. Then choose "System->List->Save->Local File                             
        (Unconverted)".                                                                               
    3. If the problem occurs in a problem of your own or a modified SAP                           
        program: The source code of the program                                                       
           In the editor, choose "Utilities->More                                                     
        Utilities->Upload/Download->Download".                                                                               
    4. Details about the conditions under which the error occurred or which                       
        actions and input led to the error.                                                                               
    System environment                                                                               
    SAP-Release 700                                                                               
    Application server... "ecprdciclu"                                                            
        Network address...... "172.25.1.34"                                                           
        Operating system..... "Linux"                                                                 
        Release.............. "2.6.18-53.el5"                                                         
        Hardware type........ "x86_64"                                                                
        Character length.... 16 Bits                                                                  
        Pointer length....... 64 Bits                                                                 
        Work process number.. 19                                                                      
        Shortdump setting.... "full"                                                                               
    Database server... "isrecprdb2"                                                               
        Database type..... "ORACLE"                                                                   
        Database name..... "RPD"                                                                      
        Database user ID.. "SAPSR3"                                                                               
    Char.set.... "C"                                                                               
    SAP kernel....... 700                                                                         
        created (date)... "Nov 18 2008 20:45:39"                                                      
        create on........ "Linux GNU SLES-9 x86_64 cc3.3.3"                                           
        Database version. "OCI_102 (10.2.0.2.0) "                                                                               
    Patch level. 185                                                                               
    Patch text.. " "                                                                               
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."                
        SAP database version. 700                                                                     
        Operating system..... "Linux 2.6"                                                                               
    Memory consumption                                                                               
    Roll.... 6203136                                                                               
    EM...... 4001304840                                                                               
    Heap.... 2000059568                                                                               
    Page.... 32768                                                                               
    MM Used. 5803144952                                                                               
    MM Free. 199241240                                                                               
    User and Transaction                                                                               
    Client.............. 610                                                                      
        User................ "SANCHIT"                                                                
        Language key........ "E"                                                                      
        Transaction......... " "                                                                      
        Transactions ID..... "49A289F286FA2313E1000000AC190122"                                                                               
    Program............. "SAPLMG27"                                                               
        Screen.............. "SAPMSSY0 1000"                                                          
        Screen line......... 6                                                                        
    Information on where terminated                                                                   
        Termination occurred in the ABAP program "SAPLMG27" - in "SEARCH_EXIT".                       
        The main program was "RM07MBST ".                                                                               
    In the source code you have the termination point in line 558                                 
        of the (Include) program "LMG27F02".                                                          
        The program "SAPLMG27" was started as a background job.                                       
        Job Name....... "RM07MBST"                      
    Regards,
    Prashant

  • Handle Runtime error: TSV_TNEW_PAGE_ALLOC_FAILED

    Hi,
    In my programme, some times I end up with handling of lots of data in internal table. And this results in a dump.
    Category               ABAP Server Resource Shortage
    Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED
    Short text
        No more memory available to extend an internal table.
    I read few threads where they suggested to increase the internal memory of ths system. This is beyond my scope!
    Is there anyway I can catch this exception and stop the programme from executing further?
    Thanks in advance!
    Cheers
    Kiran

    Hello Kiran,
    TSV_TNEW_PAGE_ALLOC_FAILED is a not catchable error. It happens if a program exceeds the system boundaries, typically ~2 GB. Requesting so much memory is a strong indication for a flaw in the archtecture.
    Anyway these kind of errors require a change in the program or in the arguments given to them. In newer releases you may try S_MEMORY_INSPECTOR to analyse the endless need of memory. In older releases watch out for hughe internal tables in the ST22 dump.
    Regards
      Klaus

  • Runtime error TSV_TNEW_PAGE_ALLOC_FAILED on executing FAGLL03.

    Hi expert,
    I am getting Runtime error TSV_TNEW_PAGE_ALLOC_FAILED error while executing FAGLL03.
    Please do the neeful.
    extented memeory--4,186,112
    and Heap Memory---1,960,171
    is configured.
    Os--HP-UX
    ECC 6.0 with oracle 10g
    server has 12 GB of RAM for the application instance and db instance is other server.
    Please
    Regards,
    vivek

    How to correct the error
        The amount of storage space (in bytes) filled at termination time was:
        Roll area...................... 5720752
        Extended memory (EM)........... 502780800
        Assigned memory (HEAP)......... 0
        Short area..................... " "
        Paging area.................... 122880
        Maximum address space.......... 4294967295
    and the paramters are.
    em/initial_size_MB---4092
    abap/heap_area_total---2000000000
    Please do the neeful.

  • Runtime Error TSV_TNEW_PAGE_ALLOC_FAILED

    Hello friends,
    One of our Z-transactions (run in background) terminates with the runtime error TSV_TNEW_PAGE_ALLOC_FAILED. It runs successfully in another system. Of course memory settings are different in these systems so are the resources. I see in the affected system that parameter abap/heap_area_total is 2GB and parameters abap/heap_area_dia and abap/heap_area_nondia are only allocated 10MB each. Will there be any issue if we increase the above 2 parameters to 2GB each? If we do so, is the value allocated entirely at startup? Will it affect system performance? Please help.
    Thanks,
    Atul Lotlikar.

    Hi Atul,
    You can extend abap/heap_area_dia  and abap/heap_area_nondia to 2GB without any problem. 10MB was limitation for 32-bit AIX system. It only gets activated at the start up.
    However, you might want to have a look at em/initial_size_MB and ztta/roll_extension and try to increase them in the system where the problem is occurring.
    Also, two systems can have different amount of data volume which can explain why it runs in one system but not in other. Then you probably have to have a look at the Z-program itself.
    Hope it helps.
    Cheers !!
    Satya.
    PS: pls reward points if the answer was helpful...Thx.

  • Infoset query: Runtime Errors  TSV_TNEW_PAGE_ALLOC_FAILED

    Hi
    I have searched the forum and could not find suitable solution for my problem.
    We have an infoset query whose data source is an ABAP program and this is within our BW system only. Earlier it used to run perfectly fine. Recently, due to the increasing data, the load for the same is failing because of memory issue with runtime Error  TSV_TNEW_PAGE_ALLOC_FAILED . The dump occurs within 5-7 minutes of the data load. Once, we give some more filter selections in the infopackage, it runs fine.
    Our problem is neither we can increase the memory any further nor we want to give filter selections in the infopackage. Also, once we execute the ABAP program alone, it runs fine.
    Any help to solve this problem is appreciated.
    Cheers
    Chanda

    Hi,
    There are 3 ways to avoid this kind of problem:
    1) Reduce the data set - if it is possible to process this in smaller
    chunks then please do. This is an infoset query - please be more restrictive in your selections
    - please refer to note 354657.
    When you work with infosets that use tables or joins then it is
    possible to read packages (from Rel. 6.10 on). When you work with
    infosets that use logical databases or data retrieval programs than
    it is not possible to read packaged - by technical restrictions.
    That means that the query is executed completely taking all restrictions
    into account and the result is stored internally.
    2) Re-allocate some of the unused shared memories to program memory.
    A prime candidate for this is Roll and Page "In Memory" values.
    Alternative memory management via PHYSMEMSIZE generally overallocates
    roll and page memory. Please reduce the amounts allocated to the "in
    memory" part (see ST02) using the parameters below, for instance:
    rdisp/ROLL_MAXFS....Total amt of ROLL (Filesystem+SHM); in 8KB blocks
    rdisp/ROLL_SHM......Shared memory element of Roll; in 8KB blocks
    rdisp/PG_MAXFS......Total amt of Page (Filesystem+SHM); in 8KB blocks
    rdisp/PG_SHM........Shared memory element of Roll; in 8KB blocks
    =>Filsystem amt = MAXFS - SHM
    60MB or so each in memory should be sufficient.
    This should allow an extra 260Mb or so for process memory.
    Bear in mind however that Roll_SHM MUST be greater than 10% of
    Roll_MAXFS.
    This will not affect alternative memory management operation in any way.
    3) Reduce the em/global_area_MB from 128 to 64MB.
    These measures should give you ~320MB additionally per work process.
    To get even more - if there is a 64 bit machine in the landscape then
    redirect the load there.
    I would like for you to review the SAP Note 712664. Although
    the Notes 20527, 369726 and 166551 specifically refers to this
    and has helped resolve multiple performance problems.
    I hope it can help you.
    Fran.

  • Runtime Error: TSV_TNEW_PAGE_ALLOC_FAILED during ODS Activation

    Hi,
    I have nearly 120Million records in new data of an ODS,  When I am trying to activate I am getting this error message.
    What could be the solution to activate this.
    Regards,
    Tony

    Hi Tony,
    you need to check the dump together with a basis person to increase some parameter in order to have more memory available for the process. Another solution might be to do a partial activation of the data. But this one does only work if you have more than one request to activate.
    regards
    Siggi

  • Runtime error while loading data in BI 7.0

    Hi All,
    While loading data in BI 7.0,
    I am getting Runtime Errors "TSV_TNEW_PAGE_ALLOC_FAILED" . No more space available for extending internal table.
    As per SAP BASIS SUPPORT comments:
    "This is NOT a space problem but rather a huge memory resource consumption one, as you're trying to hold excessive amount of data in Memory, and that's when you get the short dump; I know that SAP sometimes is not clear in explaining the issue (ie "No more storage space available...."), but this refers to memory requirement, not disk storage space per se.
    So, please try to break down your data load in smaller sets and this will work OK"
    How to proceed with the above comments? How to break down data load in to smaller sets?
    Please helpme....

    there could be various ways -
    using selections / filters in Infopackage / DTPs based on may be some period or some other char you could identify based on your data.
    Hope it helps
    Vikash

  • Run time error : TSV_TNEW_PAGE_ALLOC_FAILED in st22

    Hi All,
    we are getting runtime error : TSV_TNEW_PAGE_ALLOC_FAILED in production system. for this report rsppfprocess we have batch jobs so may be its running all the action definition and coming up with consuming more memory ? we already checked with basis but they are saying its rsppfprocess program issue. can you please guide me how to solve this issue.
    Jimmi.

    Hi Jimmi,
    The error TSV_NEW_PAGE_ALLOC_FAILED means that more memory was requested
    because the program needed to expand an internal table, but is not available.
    When Extended Memory is used up, the process will go into PRIV mode
    as it starts using Heap Memory  (or vice-versa).  No other user will be able to use this work process while it is in PRIV mode.
    If there is enough heap for it to finish, you will not see the error TSV_NEW_PAGE_ALLOC_FAILED and the work process will be freed.
    This seems to be a problem with loading of shared memory.
    Check value of parameter abap/shared_objects_size_MB in RZ11.
    Set the parameter to minimum 250 and increase it when necessary, as per SAP note 1281896. You must start the system newly so that the change becomes effective.
    Also take a look at SAP Note 1166259.
    Gervase

  • Runtime Errors STORAGE_PARAMETERS_WRONG_SET

    Hi,
    My functional team had run customized program in dialog, but after few minutes the error occured as below:-
    Runtime Errors STORAGE_PARAMETERS_WRONG_SET
    What happened?
    The current program had to be terminated because of an
    error when installing the R/3 System.
    The program had already requested 344148608 bytes from the operating
    system with 'malloc' when the operating system reported after a
    further memory request that there was no more memory space
    available.
    What can you do?
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    Set the system profile parameters
    - abap/heap_area_dia
    - abap/heap_area_nondia
    to a maximum of 344148608. Then reduce the value by 10.000.000 to be on the
    safe side.
    Then restart the SAP System.
    SAP Release.............. "620"
    Application server.......
    Network address..........
    Operating system......... "Windows NT"
    Release.................. "5.2"
    Hardware type............ "8x Intel 80686"
    Character length......... 8 Bits
    Pointer length........... 32 Bits
    Work process number...... 15
    Short dump setting....... "full"
    Database server..........
    Database type............ "MSSQL"
    Database name............ "PRD"
    Database owner........... "prd"
    Supported environment....
    Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
    SAP database version..... "640"
    Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Then we try run in background job, but error occurred show as below:-
    Runtime Errors         TSV_TNEW_PAGE_ALLOC_FAILED
           Occurred on     25.03.2010 at 16:51:02
    No storage space available for extending the internal table.
    What happened?
    You attempted to extend an internal table, but the required space wa
    not available.
    What can you do?
    Make a note of the actions and input which caused the error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and admini
    termination messages, especially those beyond their normal deletion
    date.
    Try to find out (e.g. by targetted data selection) whether the
    transaction will run with less main memory.
    If there is a temporary bottleneck, execute the transaction again.
    If the error persists, ask your system administrator to check the
    following profile parameters:
    o  ztta/roll_area            (1.000.000 - 15.000.000)
           Classic roll area per user and internal mode
           usual amount of roll area per user and internal mode
    o  ztta/roll_extension       (10.000.000 - 500.000.000)
           Amount of memory per user in extended memory (EM)
    o  abap/heap_area_total      (100.000.000 - 1.500.000.000)
           Amount of memory (malloc) for all users of an application
           server. If several background processes are running on
           one server, temporary bottlenecks may occur.
           Of course, the amount of memory (in bytes) must also be
           available on the machine (main memory or file system swap
           Caution:
           The operating system must be set up so that there is also
           enough memory for each process. Usually, the maximum addr
           space is too small.
           Ask your hardware manufacturer or your competence center
           about this.
           In this case, consult your hardware vendor
    abap/heap_area_dia:        (10.000.000 - 1.000.000.000)
           Restriction of memory allocated to the heap with malloc
           for each dialog process.
    Parameters for background processes:
    abap/heap_area_nondia:        (10.000.000 - 1.000.000.000)
           Restriction of memory allocated to the heap with malloc
           for each background process.
    Other memory-relevant parameters are:
    em/initial_size_MB:         (35-1200)
           Extended memory area from which all users of an
           application server can satisfy their memory requirement.
    I had check parameter value in RZ10 and below is the result:-
    1.abap/heap_area_dia = 2000683008
    2.abap/heap_area_dia = 2000683008
    3. ztta/roll_area = 2000896
    4.ztta/roll_extension   = 2000683008
    5.abap/heap_area_total   = 2000683008
    6.em/initial_size_MB = 20000
    I need advice on this.
    Thank you
    Regards,
    Anang78
    Edited by: anang78 on Mar 25, 2010 10:14 AM

    Hi,
    Your customized program execution is demanding more heap memory. It may be pointing to memory re-configuration.
    Please refer the following SAP Notes and compare your exiting memory parameter settings and do the adjustment according to the available RAM.
    [SAP Note 425207 - SAP memory management, current parameter ranges|https://service.sap.com/sap/support/notes/425207]
    [SAP Note 88416 - Zero administration memory management as of 4.0A/ Windows|https://service.sap.com/sap/support/notes/88416]
    Also analyze the execution of that Customized Program, weather the Coding is optimized, weather the program is executing any Expensive SQL Statement or not.
    Refer SAP Note 129813, one alternative is mentioned to deal with this memory related issue by activating 3GB feature in your existing Windows OS. Please refer Microsoft KB article 283037 and KB 268363 for the same. You will have to edit your boot.ini file to append /PAE switch.
    Regards,
    Bhavik G. Shroff

  • A problem about ABAP Runtime Error

    Now i am responsible for writing a program, including an internal table, which will store 3 million Datensätze.
    But when ich ran this program, an error happened:
    Runtime Error: TSV_TNEW_PAGE_ALLOC_FAILED
    Short Text:
    No more storage space available for extending an internal table.
    What happened?
    You attempted to extend an internal table, but the required space was not available.
      CALL FUNCTION 'RRX_GRID_CMD_PROCESS'                  "Query ausführen
            EXPORTING  i_handle           = g_handle
                       i_cmdid            = 'STRT'
                       i_iobjnm           = g_iobjnm
            IMPORTING  e_max_x            = g_x
                       e_max_y            = g_y
            TABLES     i_t_ranges         = g_t_ranges
                       e_t_dim            = g_t_dim
                       e_t_mem            = g_t_mem
                       e_t_cel            = g_t_cel
                       c_t_prptys         = g_t_prptys
                       e_t_atr            = g_t_atr
                       e_t_grid           = g_t_grid
                       e_t_ranges         = g_t_ranges
                       e_t_con            = g_t_con
                       e_t_fac            = g_t_fac
            EXCEPTIONS inherited_error    = 1
                       no_record_found    = 2
                       terminated_by_user = 3
                       no_processing      = 4
                       no_change          = 5
                       dbcl_nosupport     = 6
                       no_authorization   = 7
                       x_message          = 8
                       screen_canceled    = 9
                       launch_url         = 10
                       OTHERS             = 11.
      IF sy-subrc ne 0.
        CALL FUNCTION 'DEQUEUE_E_BIW_IOBJ' EXPORTING IOBJNM = 'U_SSTMON'.
        raise QUERY_RUN_ERROR.
      endif.
      if not p_sstmon is initial.
        delete from /bic/pu_sstmon.
      endif.
      CALL FUNCTION 'DEQUEUE_E_BIW_IOBJ' EXPORTING IOBJNM = 'U_SSTMON'.
    Output der Query in schlanke Tabelle mit erstem Feld 'y' umladen...
      loop at g_t_grid into wa_g_t_grid.
        i_grid-y = wa_g_t_grid-y.
        i_grid-x = wa_g_t_grid-x.
        i_grid-data = wa_g_t_grid-data.
        if i_grid-data(1) = m1.                   "Hochkomma entfernen
          shift i_grid-data.
        endif.
    append i_grid .  Error happened hier
      endloop.
      refresh g_t_grid.
      sort i_grid by y x.
    Who could give me some suggestion to solve this problem?
    Thank you in advance.

    thank you for your info.
    I think that using package size is only choice to avoid the huge internal tabel.
    But now i have a question. I must sort this internal table. When i use package size, then i can only sort a part of internal table. This will cause data uncorrect.
      SELECT * FROM zubpgrid INTO TABLE i_grid PACKAGE SIZE 10000.
    Legende des Grids auswerten (1. Zeile)...
    SORT i_grid BY y x.
      LOOP AT i_grid.
        if i_grid-y ne 1.                                   "1. Zeile Ende
          exit.                          "loop at i_grid
        endif.
    leere Titel in der RSRT-Ausgabe fehlen in der int. Tabelle.
    Sie sind Texte zum Vorgängerfeld und werden hier für die Steuerung
    eingefügt, mit Name der Schlüsselfeldes + '_TXT'
        l_v_delta_x = i_grid-x - i_gridlegende-x.
        if l_v_delta_x > 1.                                 "da fehlte was
          concatenate i_gridlegende-data '_TXT' into i_gridlegende-data.
          add 1 to i_gridlegende-x.                         "das fehlende x
          append i_gridlegende.
        endif.
    jetzt das aktuelle Feld aus i_grid...
        i_gridlegende-data = i_grid-data.
        i_gridlegende-x    = i_grid-x.
        append i_gridlegende.
        DELETE i_grid.
      ENDLOOP.
    ENDSELECT
    Who could help me to solve this problem?
    Thanks in advance!

  • CTM Run failing with TSV_TNEW_PAGE_ALLOC_FAILED runtime error

    Hi,
    While doing the CTM run,system is giving the  memory dump with run time error TSV_TNEW_PAGE_ALLOC_FAILED.
    I understand this is because memory constraint and possible recommendation to either increase the Memory or reduce the master data selections for planning but would like to know if some master data discrepancy can cause the infinite run of CTM and hence memory dump like product at location being set as Inhouse production but no PPM maintained for it.
    Any suggestions on this willl reward points.
    Thanks,
    Manish
    Edited by: Manish Thukral on Jun 24, 2008 9:34 PM

    Marcelo,
    Thanks for you reponse.Can you please share some more information on what explanation profile is and where it is set so that can I check.
    Manish

  • SEM_BW_BCS 603 RUNTIME ERROR: TSV_TNEW(BTR)_PAGE_ALLOC_FAILED

    hi everyone,
    When i run the transcation:ucwb, execute the SEM_BCS workbench/monitor ,an runtime error occured.
    My BW dev system and qas system have came across the same situation
    My environment is:
    AIX5300 64b
    memory8G swap space20G
    Oracle10g
    Netweaver2004s
    SAP_BW level 18
    SEM_BW 603 with SP2
    following is the error info:
    Short text
    No more storage space available for extending an internal table.
    What happened?
    You attempted to extend an internal table, but the required space was
    not available.
    What can you do?
    Note which actions and input led to the error.
    For further help in handling the problem, contact your SAP administrator
    You can use the ABAP dump analysis transaction ST22 to view and manage
    termination messages, in particular for long term reference.
    Try to find out (e.g. by targetted data selection) whether the
    transaction will run with less main memory.
    If there is a temporary bottleneck, execute the transaction again.
    If the error persists, ask your system administrator to check the
    following profile parameters:
    o ztta/roll_area (1.000.000 - 15.000.000) // initial value :1000000; current value:6000000
    Classic roll area per user and internal mode
    usual amount of roll area per user and internal mode
    o ztta/roll_extension (10.000.000 - 500.000.000) //initial value:2000000000;current value:2000000000**
    Amount of memory per user in extended memory (EM)
    o abap/heap_area_total (100.000.000 - 1.500.000.000) //initial value:2000000000;current value:2000000000
    Amount of memory (malloc) for all users of an application
    server. If several background processes are running on
    one server, temporary bottlenecks may occur.
    Of course, the amount of memory (in bytes) must also be
    available on the machine (main memory or file system swap).
    Caution:
    The operating system must be set up so that there is also
    enough memory for each process. Usually, the maximum address
    space is too small. //em/address_space_MB :initial value:4096;current value:8192**
    Ask your hardware manufacturer or your competence center
    about this.
    In this case, consult your hardware vendor
    abap/heap_area_dia: (10.000.000 - 1.000.000.000) //initial value:2000000000;current value:2000000000**
    Restriction of memory allocated to the heap with malloc
    for each dialog process.
    Parameters for background processes:
    abap/heap_area_nondia: (10.000.000 - 1.000.000.000)//initial value:2000000000;current value:2000000000**
    Restriction of memory allocated to the heap with malloc
    for each background process.
    Other memory-relevant parameters are:
    em/initial_size_MB: (35-1200) )//initial value:4096;current value:4096**
    Extended memory area from which all users of an
    application server can satisfy their memory requirement.
    rror analysis
    The internal table "\AREA=CL_UGMD_META2\INSTANCE=UGMD_FIELDINFO_LOCAL\VERSID=37
    2\OBJ=\DATA=DT_X030L" could not be
    further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "\AREA=CL_UGMD_META2\INST=UGMD_FIELDINFO_LOCAL\CLNT="
    Row width: 254
    Number of rows: 982
    Allocated rows: 982
    Newly requested rows: 64 (in 1 blocks)
    How to correct the error
    The amount of storage space (in bytes) filled at termination time was:
    Roll area...................... 16192
    Extended memory (EM)........... 29328936
    Assigned memory (HEAP)......... 0
    Short area..................... " "
    Paging area.................... 73728
    Maximum address space.......... 4294967295
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "TSV_TNEW_PAGE_ALLOC_FAILED" " "
    "CL_UG_FIELDINFO_LOCAL_SHM=====CP" or "CL_UG_FIELDINFO_LOCAL_SHM=====CM003"
    "SET_DATA"
    ****************************************************************8
    Any ideas any suggestions will be much appreciated !
    Thanks very much
    Regards!
    Peter

    i increase the value of the profile parameter:abap/shared_objects_size_MB
    the problem soluted

  • Run-time error "TSV_TNEW_PAGE_ALLOC_FAILED" occurred

    Hi all,
    I am running BDLS report in background after system copy. Its getting failed. On checking the failed job log in SM37 am getting the TSV_TNEW_PAGE_ALLOC_FAILED runtime error and message as below.
    I have checked and all memory parameters looks fine and similar to other systems, No other program/report is running on the server. Please help.
    Memory low. Leave the transaction before taking a break!
    Message no. 00072
    Diagnosis
    The memory on your application server is running low.
    System Response
    You are exclusively using one of the few work processes running on the application server. So that this does not hinder the other users too much, the work process is released if you do not work with it for a few minutes. The system terminates the transaction, causing you to lose data that you previously entered.
    Procedure
    Continue to work as normal and exit the transaction before you take a long break
    memory parameter settings as below
    ztta/roll_area                   3000320    Byte
    ztta/roll_first                1024       Byte
    ztta/short_area                    1600000    Byte
    rdisp/ROLL_SHM             16384     8 kB
    rdisp/PG_SHM          8192             8 kB
    rdisp/PG_LOCAL        150             8 kB
    em/initial_size_MB           6144       MB
    em/blocksize_KB               4096       kB
    em/address_space_MB    4092       MB
    ztta/roll_extension               2000683008 Byte
    abap/heap_area_dia               2147483648 Byte
    abap/heap_area_nondia          2147483648 Byte
    abap/heap_area_total             2147483648 Byte
    abap/heaplimit                      83886080   Byte
    abap/use_paging       0
    WP trace info
    A  *** ERROR => User SSeeeN       reached avail. heapsize = 2047 MB: see ST22  [abstor.c     1766]
    A  *** ERROR => Increase abap/heap_area_total [abstor.c     1768]
    A  *** ERROR => heap memory WP0: 2047 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP1: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP2: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP3: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP4: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP5: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP6: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP7: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP8: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP9: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP10: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP11: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP12: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP13: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP14: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP15: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP16: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP17: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP18: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP19: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP20: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP21: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP22: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP23: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP24: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP25: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP26: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP27: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP28: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP29: 0 MB [abstor.c     1771]
    A  *** ERROR => heap memory WP30: 0 MB [abstor.c     1771]
    Please help.
    Regards,
    Sandeep

    Hi Mho,
    Yes i started BDLS in background and its getting cancelled after running for 2.5 hours.
    The below WP trace is when i am seeing BDLS job log via SM37 which is a dialog and is getting terminated with TSV_NEW_PAGE-allocation failed.
    the job log file is quite huge. Is that a problem ??
    -rwxrwxrwx   1 sidadm     sapsys     1071026978 Jan 20 23:52 0001X21231200X62021
    -rw-rw----   1 sidadm     sapsys     1071029688 Jan 21 05:28 0001X02591200X84343
    I got this in SM21.
    During background processing, the system was unable to read the
    specified job log. This may be due to the following:
      - The instance from which you wanted to read the job log does not
        have access to the central SAP directory containing the job logs:
        /usr/sap/<Systemname>/SYS/global/<client>JOBLG, for example
        /usr/sap/C11/SYS/global/000JOBLG for the job logs for client 000 in
        system C11. Make sure your instance has access to this
        directory. Examine the syslog for relevant entries.
      - As job logs are written and read using the SAP TemSe subsystem,
        there may be problems within TemSe.
        Examine the syslog for relevant entries.
      - The disk, on which the directory specified above is stored, is
        full. Consequently, no new job logs can be read or written.
    However, i executed another small job which has finished fine and we can see the SM37 jobs

Maybe you are looking for