Skip to content

Massive memory usage #19011

Closed as not planned
Closed as not planned

Description

@emmadesilva

The problem

So after a few days of a really laggy experience, I open up the task manager, and I see that Desktop is using well over two gigabytes of RAM, even when idle.

Release version

Version 3.4.2 (x64)

Operating system

Windows 10 Pro

Steps to reproduce the behavior

I'm gonna need some help here to debug this. I'm not doing anything special, and I'm not sure how to profile the app's memory usage.

Log files

No response

Screenshots

image

Additional context

Restarting Desktop resets the memory usage to normal, so I'm assuming there is a memory leak somewhere?

image

Activity

  1. tidy-dev commented on Jul 24, 2024

    @tidy-dev
    Contributor

    @caendesilva Thank you for reaching out.

    1. Could you please upload a log file for the day you experienced this? To access the log files go to the menu and select Help > Show Logs.

    2. After shutting down GitHub Desktop (ensuring in task manager there is no running processes) and reopening, is this easily reproducible?

  2. added
    more-info-needed
    on Jul 24, 2024
  3. emmadesilva commented on Jul 24, 2024

    @emmadesilva
    Author

    @caendesilva Thank you for reaching out.

    1. Could you please upload a log file for the day you experienced this? To access the log files go to the menu and select Help > Show Logs.
    2. After shutting down GitHub Desktop (ensuring in task manager there is no running processes) and reopening, is this easily reproducible?

    @tidy-dev There's a lot of logs, is there a place I should upload them to? And I will keep an eye on it to reproduce.

  4. removed
    more-info-needed
    on Jul 24, 2024
  5. tidy-dev commented on Jul 24, 2024

    @tidy-dev
    Contributor

    Uploading them to this thread. You can drag and drop the log file into a comment.

  6. added
    more-info-needed
    on Jul 24, 2024
  7. emmadesilva commented on Jul 24, 2024

    @emmadesilva
    Author

    Uploading them to this thread. You can drag and drop the log file into a comment.

    2024-07-24.desktop.production.log

    Forgot about that, here you go @tidy-dev

  8. removed
    more-info-needed
    on Jul 24, 2024
  9. tidy-dev commented on Jul 24, 2024

    @tidy-dev
    Contributor

    Thank you for that @caendesilva. I do not see anything in the log that would indicate unusual performance. :/

    I was trying to do some investigation and found we already have tracking for this issue. #10625

    I am going to close this in favor of tracking there. If you are able to reproduce and happen to find a particular pattern of usage that causes it, that would be helpful. :)

  10. emmadesilva commented on Jul 24, 2024

    @emmadesilva
    Author

    Thank you for that @caendesilva. I do not see anything in the log that would indicate unusual performance. :/

    I was trying to do some investigation and found we already have tracking for this issue. #10625

    I am going to close this in favor of tracking there. If you are able to reproduce and happen to find a particular pattern of usage that causes it, that would be helpful. :)

    Yeah I will keep an eye out for it! Thanks!

  11. steveward commented on Jul 24, 2024

    @steveward
    Contributor

    @caendesilva just a check -- are you running any security/antivirus software? Usually we see CPU usage issues with that, but I wanted to follow up to check if that was a possibility.

  12. emmadesilva commented on Jul 24, 2024

    @emmadesilva
    Author

    @caendesilva just a check -- are you running any security/antivirus software? Usually we see CPU usage issues with that, but I wanted to follow up to check if that was a possibility.

    I do have antivirus, but wouldn't that lead to high memory usage within the actual AV? Why would that affect Desktop?

  13. steveward commented on Jul 25, 2024

    @steveward
    Contributor

    We've seen instances of performance slowdowns due to antivirus software scanning GitHub Desktop and causing operations to take longer. If you do have something installed it may be worth trying to temporarily disable it to see if it makes any difference.

  14. emmadesilva commented on Jul 25, 2024

    @emmadesilva
    Author

    We've seen instances of performance slowdowns due to antivirus software scanning GitHub Desktop and causing operations to take longer. If you do have something installed it may be worth trying to temporarily disable it to see if it makes any difference.

    Okay, I'll keep an eye out. Remember, CPU usage was still nominal in my case. This looked like a memory leak, as the memory usage was ~6575.84 percent higher than usual.

  15. emmadesilva commented on Jul 26, 2024

    @emmadesilva
    Author

    image

    @tidy-dev High memory usage again. Is there anything I can do to profile to see what part of Desktop is using memory?

    @steveward My antivirus service is in the background but is at 0% CPU and ~6MB memory, so it doesn't seem to be doing anything at the moment.

  16. emmadesilva commented on Jul 27, 2024

    @emmadesilva
    Author

    We've seen instances of performance slowdowns due to antivirus software scanning GitHub Desktop and causing operations to take longer. If you do have something installed it may be worth trying to temporarily disable it to see if it makes any difference.

    @steveward Noticed Desktop with elevated memory usage around 600MB while AV was active. Disabling AV had no impact on Desktop usage at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions