SAP ABAP Class CL_ABAP_MEMORY_UTILITIES (Utility for ABAP Memory Management)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_CORE (Package) Kernel-Level Objects
⤷
⤷
Properties
| Class | CL_ABAP_MEMORY_UTILITIES | |
| Short Description | Utility for ABAP Memory Management | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP_CORE | Kernel-Level Objects |
| Created | 20021010 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ABAP_MEMORY_UTILITIES has no interface implemented.
Friends
Class CL_ABAP_MEMORY_UTILITIES has no friend class.
Attributes
Class CL_ABAP_MEMORY_UTILITIES has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Perform Garbage Collection | 20021212 | |
| 2 | Static method | Public | Method | Calculate memory size of a dynamically created object | 20021211 | |
| 3 | Static method | Public | Method | Define the size of the used MM memory | 20030207 | |
| 4 | Static method | Public | Method | Is there still a strong reference? | 20090116 | |
| 5 | Static method | Public | Method | Create File with Memory Use Information | 20021010 | |
| 6 | Static method | Public | Method | Create File with Memory Use Information (SHO) | 20051026 |
Events
Class CL_ABAP_MEMORY_UTILITIES has no event.
Types
Class CL_ABAP_MEMORY_UTILITIES has no local type.
Method Signatures
Method DO_GARBAGE_COLLECTION Signature
Method DO_GARBAGE_COLLECTION on class CL_ABAP_MEMORY_UTILITIES has no parameter.
Method DO_GARBAGE_COLLECTION on class CL_ABAP_MEMORY_UTILITIES has no exception.
Method GET_MEMORY_SIZE_OF_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BOUND_SIZE_ALLOC | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des gebundenen und allokierten Speichers | 20021211 | |||
| 2 | BOUND_SIZE_USED | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des gebundenen und benutzten Speichers | 20021211 | |||
| 3 | IGNORE_STRING_SHARING | Call by reference | Type reference (TYPE) | C | Flag, ob Stringsharing ignoriert werden soll | 20030122 | |||
| 4 | IGNORE_TABLE_SHARING | Call by reference | Type reference (TYPE) | C | Flag, ob Tabellensharing ignoriert werden soll | 20030122 | |||
| 5 | IS_IN_SHARED_MEMORY | Call by reference | Type reference (TYPE) | C | Flag, ob OBJECT im Shared Memory liegt. | 20021211 | |||
| 6 | IS_PART_OF_NON_TRIVIAL_SZK | Call by reference | Type reference (TYPE) | C | Starke Zusammenhangskomponente von object | 20021211 | |||
| 7 | LOW_MEM | Call by reference | Type reference (TYPE) | C | Flag, ob mangels Speicher nur die bound_size_* gefüllt sind | 20021211 | |||
| 8 | OBJECT | Call by reference | Type reference (TYPE) | ANY | Das zu berechnede Objekt | 20021211 | |||
| 9 | REFERENCED_SIZE_ALLOC | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des referenzierten und allokierten Speichers | 20021211 | |||
| 10 | REFERENCED_SIZE_USED | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des referenzierten und benutzten Speichers | 20021211 | |||
| 11 | SIZEOF_ALLOC | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des allokierten Speichers ohne Kinder | 20041129 | |||
| 12 | SIZEOF_USED | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des benutzten Speichers ohne Kinder | 20041129 | |||
| 13 | SZK_SIZE_ALLOC | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des allokierten Speichers der SZK | 20021211 | |||
| 14 | SZK_SIZE_USED | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des benutzten Speichers der SZK | 20021211 |
Method GET_MEMORY_SIZE_OF_OBJECT on class CL_ABAP_MEMORY_UTILITIES has no exception.
Method GET_TOTAL_USED_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIZE | Call by reference | Type reference (TYPE) | ABAP_MSIZE | Größe des Speichers in Bytes | 20030207 |
Method GET_TOTAL_USED_SIZE on class CL_ABAP_MEMORY_UTILITIES has no exception.
Method IS_STRONGLY_REFERENCED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090116 | ||||
| 2 | REF | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_REFERENCE | Abstrakte Basisklasse für Referenz-Objekte | 20090116 |
Method IS_STRONGLY_REFERENCED on class CL_ABAP_MEMORY_UTILITIES has no exception.
Method WRITE_MEMORY_CONSUMPTION_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | I | Return-Code | 20021014 |
Method WRITE_MEMORY_CONSUMPTION_FILE on class CL_ABAP_MEMORY_UTILITIES has no exception.
Method WRITE_MEMORY_CONSUMPT_FILE_SHO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname | 20051111 | |||
| 2 | HDL | Call by reference | Object reference (TYPE REF TO) | CL_SHM_AREA | SHM: Allgemeines Gebiets-Handle | 20051026 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Schreiben eines Speicherabzugs | 20051110 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 630 |