Posts

Showing posts with the label memory-leaks

How to find the cause of nvim using excessive memory

How to find the cause of nvim using excessive memory My current nvim is using excessive memory, 34.1GB. How can I go about to find the cause of the excessive memory leak if any: Activity Monitor on MacOS reports this using the "i" inspector: Real memory size : 4,58 GB Virtual memory size : 40,74 GB Shared memory size : 8,00 GB Private memory size : 4,87 GB I have looked at the call graph using the sample feature of the Activity monitor, but to me it provides no meaningful information. The log provides pages of method names, in a graph. Here is an extract illustrating the method / function names: (I guess I need debug symbols or something to interpret this) + 59 ex_return (in nvim) + 110 [0x10d6ae827] + ! : | + ! : | + ! : | + ! : | + ! : | + ! : | + ! : | + ! : | + 59 eval0 (in nvim) + 62 [0x10d6a3393] + ! : ...