Skip to main content

SAP NetWeaver DLL causes Memory Leakage

Problem​

When dab Nexus extracts data from SAP, it uses far more RAM than usual or expected. This usually results in the service freezing and crashing.

Cause​

This memory leakage is caused by this version of the sapnwrfc.dll file (It is one of the files for patch level 19): 7540.711.35.17652

The following steps explain how to find the version number:

  • Open the path to the libraries: %WINDIR%\System32 (location for 64-bit systems).
  • Right-click on sapnwrfc.dll and open the settings.
  • Go to 'Details'.
  • You will find the 'Data version' here.

Solution​

In order to resolve the memory leakage issue, the SAP NetWeaver DLL must be upgraded to a different version (higher than the 7540.711.35.17652 version).

These files need to be replaced (the 'XX' stands for any number, which may vary depending on the release):

  • sapnwrfc.dll
  • icudtXX.dll
  • icuinXX.dll
  • icuucXX.dll
  • libsapucum.dll

Follow these steps to replace the files:

  • Stop the dab Nexus Service.
  • Replace these five files with the new ones (Note: the number may differ for the 'icu'-dlls. If they are different, delete the old files and insert the new ones instead).
  • Restart the dab Nexus Service.
  • Start a new Extraction to check the memory usage.