Bug 48875

GemStone/S 64 Bit

3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3, 3.4.2, 3.4.1, 3.4

3.5.3

Memory leaks in NetLDI

There were several memory leaks that occurred on requests to the NetLDI. Over time, the memory footprint of the NetLDI process could become very large.

When not running in guest mode, there was a 16 bytes per-request leak in v3.4.x and v3.5.x.

In all NetLDI modes, there was a 2k byte per-request leak in v3.5.x.

Workaround

Restarting the NetLDI will clear memory.

To ensure leaks such as this are caught, versions with the fix for this bug includes a cache statistic HeapKBytes, with the size of the process's heap in kilobytes; and statmonitor by default records statistics on NetLDI processes. Continually increasing HeapKBytes in a NetLDI demonstrates the problem.


Last updated: 9/11/20