Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Short Dump TSV_TNEW_PAGE_ALLOC_FAILED while using shared memory objects

Hi Gurus,

We are using shared memory objects to stor some data which we will be reading later. I have implemented the interfce IF_SHM_BUILD_INSTANCE in root class and using its method BUILD for automatic area structuring.

Today our developments moved from dev system to quality system, and while writing the data into the shared memory using the methods ATTACH_FOR_WRITE and DETACH_COMMIT in one report. We started getting the run time error TSV_TNEW_PAGE_ALLOC_FAILED.This is raised when the method DETACH_COMMIT is called to commit the changes in the shared memory.

Everyhting works fine before DETACH_COMMIT. I know that it is happening since the program ran out of extended memory, but I am not sure why it is happening at DETACH_COMMIT call. If excessive memory is being used in the program, this run time error should have been raised while calling the ATTACH_FOR_WRITE method or while filling the root class attributes. I am not sure why it is happening at DETACH_COMMIT method.

Many Thanks in advance.



Former Member

Looks like it is because the shared memory object is needing more memory than system can allocate. Check the note [Note 1322182 - Memory consumption of ABAP Shared Objects|]


Naimesh Patel

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question