Author Topic: v22 memory leak?  (Read 802 times)

JeffB

  • Senior Community Member
  • Posts: 267
  • Hero Points: 9
Re: v22 memory leak?
« Reply #15 on: November 17, 2017, 10:01:45 pm »
I assume it does not.  FYI....The Virtual Size is just over 6GB.

I'll leave it up for a while and see if it keeps growing.

JeffB

  • Senior Community Member
  • Posts: 267
  • Hero Points: 9
Re: v22 memory leak?
« Reply #16 on: November 22, 2017, 05:54:57 pm »
FYI...After sitting for a few days with only minor usage, the resident memory is 6.35GB and Virtual is 7.5GB.

IkerAriz

  • Community Member
  • Posts: 94
  • Hero Points: 0
Re: v22 memory leak?
« Reply #17 on: November 27, 2017, 07:18:00 pm »
Additional follow up...

Total RES memory for my VS process is now a bit over 1GB and continues to grow, albeit slowly. A quick peek at the "/proc/pid/smaps" file suggests most of that is heap (see output below).

Regards,
Iker

Code: [Select]
02f18000-3b924000 rwxp 00000000 00:00 0                                  [heap]
Size:             927792 kB
Rss:              927084 kB
Pss:              927084 kB
Shared_Clean:          0 kB
Shared_Dirty:          0 kB
Private_Clean:         0 kB
Private_Dirty:    927084 kB
Referenced:       920808 kB
Anonymous:        927084 kB
AnonHugePages:    864256 kB
Shared_Hugetlb:        0 kB
Private_Hugetlb:       0 kB
Swap:                  0 kB
SwapPss:               0 kB
KernelPageSize:        4 kB
MMUPageSize:           4 kB
Locked:                0 kB
VmFlags: rd wr ex mr mw me ac sd

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 817
  • Hero Points: 46
Re: v22 memory leak?
« Reply #18 on: December 06, 2017, 07:03:20 pm »
Thanks for the updates.  We found the leak that probably accounts for your continued resident memory growth, and it's been fixed for the point release.

For our current tests, the leak was slow enough where it got lost in the noise of memory we keep in caches.  But editing large source files, or files that are really tag dense (like XML files) can make the leak fast enough to observe just watching the OS reports on memory usage.  Just running for a long time with normal usage will leak as well, just not as quickly.

IkerAriz

  • Community Member
  • Posts: 94
  • Hero Points: 0
Re: v22 memory leak?
« Reply #19 on: December 07, 2017, 09:48:12 pm »
Great to hear! Thanks for the follow up.

Regards,
Iker