NWMKDE.NLM is consuming large amounts of RAM

  • 3216963
  • 20-Sep-2007
  • 16-Mar-2012

Environment

Btrieve
Novell NetWare 5.1 Support Pack 1
Novell NetWare 5.1 Support Pack 4
Novell NetWare 6 Support Pack 4
Novell NetWare 6.5 Support Packs 1-4
NWMKDE.NLM
BTI.LCK
BTI.CFG

Situation

NWMKDE.NLM is consuming large amounts of RAM
NEMKDE.NLM is taking large amount of RAM
NWMKDE.NLM is consuming 136Mb RAM
On starting the server the customer would notice that NWMKDE.NLM was consuming about 135 Mb of RAM, if he unloaded this module the memory would be liberated, but on reloading the nlm the memory consumed would once again rise to 138 Mb. This was not a gradual consumption of memory, therefore memory leak was ruled out as a possible cause.

Resolution

Deleted the file BTI.LCK in SYS:SYSTEM directory, this file will be created automatically if it does not exist whenever the Pervasive Microkernel engine is restarted.
Stop and restart the Microkernel engine and memory consumption for this nlm should return to normal, about 1 Mb. (The actual amount of memory consumed by BTRIEVE can be set in BTI.CFG so it may actually consume more than 1Mb depending on the setting found in this file)

Additional Information

The file BTI.LCK had some how become corrupted.
See also TID 3748106"How to unload BTRIEVE in a NW5 environment"

Formerly known as TID# 10058100