SAP Knowledge Base Article - Preview

3845642 - SESSIONMEM_QUOTA_WARNING every 15 minutes after enabling Cloud ALM job monitoring

Symptom

  • A session memory dump is being generated more or less every 15 minutes: SESSIONMEM_QUOTA_WARNING.
  • Issue starts after enabling Cloud ALM data collection/job monitoring.

----------------------------------------------------------------------------------------------------
Category               Not an error                                                                 
Runtime Errors         SESSIONMEM_QUOTA_WARNING                                                     
----------------------------------------------------------------------------------------------------
|Short Text                                                                                        
|    Limited amount of session memory remaining                                                    
----------------------------------------------------------------------------------------------------

|What happened?                                                                                    
|    The amount of memory space used at present exceeds the warning level                          
|    for the session memory quota                                                                  
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What can you do?                                                                                  
|    No errors that require solving have occurred.                                                 
----------------------------------------------------------------------------------------------------

|User and Transaction                                                                              
|    Client................. XXX                                                            
|    User.................. XXXXXXX                                                                
|    Language key.......... E                                                                      
|    Transaction.........                                                                          
|    Transaction ID...... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                        
|                                                                                                  
|    EPP Root Context ID.... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                      
|    EPP Connection ID...... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX                                      
|    EPP Connection Counter. 1                                                                     
|    EPP Component Name..... <SID>/<hostname>_<SID>_<instance number>                                              
|                                                                                                  
|    Program....................... SAPLSWWL                                                       
|    Screen......................... SAPMSSY1                                3004                  
|    Screen line.................... 2                                                             
|    Debugger interpretor loop... "none"                                                           
----------------------------------------------------------------------------------------------------

|    Call program.........../SDF/CL_CALM_SCHEDULER========CP                                       
|    Function module..... /SDF/CALM_TASK_EXECUTOR                                                  
|                                                                                                  
|    Additional information on RFC logon:                                                         
|    Trusted relationship..                                                                        
|    Logon return code.... 0                                                                       
|    Trusted return code.. 0                                                                       
|                                                                                                  
|    Remarks:                                                                                      
|    In Releases prior to 4.0, information about the RFC caller might be                           
|    missing or incomplete.                                                                        
|    - The installation number is provided in caller Release 700 and higher.                       
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Information on where terminated                                                                   
|    The termination occurred in ABAP program or include "SAPLSWWL", in                            
|     "SWW_WI_LOG_READ". The main program was "SAPMSSY1".                                                                  
|                                                                                                  
|    In the source code, the termination point is in line 71 of include "LSWWLU03".                
|    include "LSWWLU03".                                                                           
----------------------------------------------------------------------------------------------------

|Source Code Extract                                                                               |
----------------------------------------------------------------------------------------------------
|Line |Code                                                                                        |
----------------------------------------------------------------------------------------------------
|   41|  ENDIF.                                                                                    |
|   42|                                                                                            |
|   43|  IF NOT method IS INITIAL.                                                                 |
|   44|    DATA(lr_method) = VALUE tt_method( ( sign = 'I' option = 'EQ' low = method ) ).         |
|   45|  ENDIF.                                                                                    |
|   46|                                                                                            |
|   47|  IF im_swwloghist[] IS INITIAL.                                                            |
|   48|    IF lrt_wi[] IS NOT INITIAL.                                                             |
|   49|      SELECT * FROM swwloghist INTO TABLE @DATA(lt_loghist)                                 |
|   50|                   FOR ALL ENTRIES IN @lrt_wi                                               |
|   51|                   WHERE                                                                    |
|   52|                    wi_id      = @lrt_wi-low  AND                                           |
|   53|                    meth_edate IN @lr_meth_edate AND                                        |
|   54|                    meth_etime IN @lr_meth_etime AND                                        |
|   55|                    method     IN @lr_method.                                               |
|   56|    ENDIF.                                                                                  |
|   57|  ELSE.                                                                                     |
|   58|    lt_loghist[] = im_swwloghist[].                                                         |
|   59|  ENDIF.                                                                                    |
|   60|                                                                                            |
|   61|*- convert entries                                                                          |
|   62|  DATA(lv_timezone) = COND syst_zonlo( WHEN convert_to_utc EQ 'X' THEN 'UTC' ELSE sy-zonlo \|
|).                                                                                                |
|   63|  LOOP AT lt_loghist INTO DATA(ls_loghist).                                                 |
|   64|    DATA(ls_log_list) = cl_swf_utl_convert_por=>convert_log_to_log_with_ibf( im_logentry = \|
|ls_loghist ).                                                                                     |
|   65|    IF ls_log_list-timestamp IS INITIAL.                                                    |
|   66|      CONVERT DATE ls_log_list-meth_edate TIME ls_log_list-meth_etime INTO TIME STAMP ls_lo\|
|g_list-timestamp TIME ZONE lv_timezone.                                                           |
|   67|    ELSE.                                                                                   |
|   68|      CONVERT TIME STAMP ls_log_list-timestamp TIME ZONE lv_timezone INTO DATE ls_log_list-\|
|meth_edate TIME ls_log_list-meth_etime.                                                           |
|   69|    ENDIF.                                                                                  |
|   70|    APPEND ls_log_list TO log_list.                                                         |
|>>>>>|  ENDLOOP.                                                                                  |
|   72|  SORT log_list BY meth_edate meth_etime timestamp log_count meth_user method.              |
|   73|                                                                                            |
|   74|ENDFUNCTION.                                                                                |
----------------------------------------------------------------------------------------------------


Read more...

Environment

  • Product: SAP Cloud ALM
  • Job and Automation Monitoring Service

Product

SAP Cloud ALM all versions

Keywords

TSV_TNEW_PAGE_ALLOC_FAILED, SESSIONMEM_QUOTA_WARNING, Cloud ALM, job monitoring, ABAP dump, memory dump, SWWLOGHIST, SWW_WI_LOG_READ, workflow log, data collection, BPMON, KPI, /SSA/EKF, /SDF/CL_SWF_TASK_DEC_MESSAGES, S/4HANA, SWW_WI_LOG_READ , KBA , SV-CLM-OP-JM , Job and Automation Monitoring Service , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.