microsoft / TeamMate

TeamMate is an application for managing Azure DevOps work items and pull requests.
MIT License
31 stars 11 forks source link

TeamMate regularly consumes almost 1GB of memory within few seconds of starting #100

Closed rahul-ramadas closed 10 months ago

rahul-ramadas commented 1 year ago

When I start TeamMate, it starts off consuming about 100MB of commit and active memory, and over the next few seconds, it climbs up to ~1GB and stays there forever. Is this by design? It almost feels like a memory leak. I only track 3 queries, each with about 30 results.

0.1.8-tags-0-1-8-ci-3-Branch-main-Sha-f818e18937ff8f2244f28c2674f83804f961e4ed.1+Branch.tags-0.1.8-ci.3-Branch.main.Sha.f818e18937ff8f2244f28c2674f83804f961e4ed.Sha.f818e18937ff8f2244f28c2674f83804f961e4ed

image

erikpe-msft commented 12 months ago

As another data point: I track substantially many more queries and I'm looking at +300MB active memory and +500MB commit relative to the screenshot above.

supermem613 commented 10 months ago

@rahul-ramadas, @erikpe-msft, can you pls grab a dump of the process and share?

supermem613 commented 10 months ago

@rahul-ramadas, @erikpe-msft, can you please upgrade to 0.1.9 and grab a dump? Thank you!

supermem613 commented 10 months ago

Regression from https://github.com/microsoft/TeamMate/pull/91. We are caching too much data for PRs.

supermem613 commented 9 months ago

@rahul-ramadas, @erikpe-msft, release 0.1.10 has the fix.

erikpe-msft commented 9 months ago

@supermem613 Confirmed! Memory usage is a tiny fraction of what it was before.

ivanv-microsoft commented 9 months ago

[like] Vanya Kashperuk reacted to your message:


From: Erik Peterson @.> Sent: Wednesday, January 17, 2024 4:52:55 PM To: microsoft/TeamMate @.> Cc: Subscribed @.***> Subject: Re: [microsoft/TeamMate] TeamMate regularly consumes almost 1GB of memory within few seconds of starting (Issue #100)

@supermem613https://github.com/supermem613 Confirmed! Memory usage is a tiny fraction of what it was before.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/TeamMate/issues/100#issuecomment-1896210933 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGZ6XFJDLRZ7YOF6M3NSKPLYO76WPBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZTCMJXGI2DMNRRGWSG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJTHAYDGMRZGQ4THAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDCOJXGEZTKMBRGI4YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZTCMJXGI2DMNRRGWTXI4TJM5TWK4VGMNZGKYLUMU. You are receiving this email because you are subscribed to this thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.