Hi,
I have a program which extract all data of table MAKT then use CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
My code is:
select * from makt into table i_tab PACKAGE SIZE 50000
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = p_sep
TABLES
i_tab_sap_data = i_tab
CHANGING
i_tab_converted_data = it_buffer
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc EQ 0.
APPEND LINES OF it_buffer TO it_record.
CLEAR: it_buffer, it_buffer[],i_tab, i_tab[].
FREE : i_tab,gt_buffer.
ENDIF.
ENDSELECT.
I have a dump during the execution:
&INCLUDE INCL_INSTALLATION_ERROR
Causes
The current program had to be terminated because of an
error when installing the R/3 System.
The program had already requested 300672048 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.
Solutions
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 300672048. Then reduce the value by 10.000.000 to be on the
safe side.
Then restart the SAP System.
Best regards,