|
-
Dec 19th, 2024, 05:17 AM
#1
Memeory Leak Visual Studio or Git pack
Please move accordingly if needed.
As this is happening more and more and as I saw it might have to do with visual studio, I'm opening this. Also note I have all the update packs. VS 2019 Community 16.11.42
I quote:
"When I turn the visual studio, sometimes it give 3 lines of error on the upper corner and then complains about a low memory thing and the screen turns black!
After that I connect and disconnect the HDMI cable and the screen turns back on and after that the PC is semi responsive. P.e. I cannot do a copy paste of close the visual studio properly."
I got the log here:
Code:
<record>1112</record>
<time>2024/12/19 08:41:50.770</time>
<type>Error</type>
<source>UserConnection</source>
<description>Unexpected exception Exception of type 'System.OutOfMemoryException' was thrown. at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.DrainEventQueue()
 at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.RaiseEvents(String[] propertyNames)
 at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.IdeUserSession.<ConnectAndInitializeSessionAsync>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsyncImpl>d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<ConnectAsync>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.BaseUserSession.<PollConnectAsync>d__49.MoveNext() for IdeUser</description>
</entry>
<entry>
<record>1113</record>
<time>2024/12/19 08:41:50.857</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [GitContextPackage]</description>
<guid>{565515AD-F4C1-4D59-BC14-AE77396DDDD7}</guid>
</entry>
<entry>
<record>1114</record>
<time>2024/12/19 08:41:50.872</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [GitContextPackage]Source: 'GitHub.VisualStudio' Description: Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
 at GitHub.VisualStudio.GitContextPackage.<InitializeAsync>d__0.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
 at GitHub.VisualStudio.GitContextPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)
 at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
 at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)
 at Microsoft.VisualStudio.Services.VsTask.GetResult()</description>
<guid>{565515AD-F4C1-4D59-BC14-AE77396DDDD7}</guid>
<hr>8007000e - E_OUTOFMEMORY</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>1115</record>
<time>2024/12/19 08:41:50.876</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [GitContextPackage]</description>
<guid>{565515AD-F4C1-4D59-BC14-AE77396DDDD7}</guid>
<hr>8007000e - E_OUTOFMEMORY</hr>
<errorinfo></errorinfo>
</entry>
</activity>
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Dec 19th, 2024, 05:42 AM
#2
Re: Memeory Leak Visual Studio or Git pack
OK I saw on the logs that I have various SQL servers consuming memory so I disabled some to see what will go on...
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Dec 20th, 2024, 09:23 AM
#3
Re: Memeory Leak Visual Studio or Git pack
How many SQL Servers? I don't think they take up a whole lot when they aren't doing much. I may have three different versions installed on a system with unimpressive amounts of memory, and they don't seem to cause any trouble. Only one is truly active.
My usual boring signature: Nothing
 
-
Dec 20th, 2024, 10:11 AM
#4
Re: Memeory Leak Visual Studio or Git pack
You talk the talk but do you walk the walk? 
I'm not talking about SSMS I'm talking about the actual SQL server on the PC.
Here is a file log from the PC showing the top 3 memory consumptions and SQL is in the first rack
" Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: devenv.exe (32432) consumed 564305920 bytes, sqlservr.exe (7804) consumed 563318784 bytes, and devenv.exe (16828) consumed 551432192 bytes. "
That is close to x3 SQL's so close to 2GB. So if I'm able to get rid of 2gb just standing there I'm doing it.
Of course seen that devenv (aka VS) has 2 on the top 3 I'm assuming that it's "killing" the PC slowly so it raises more on my list the leaked VS component theory.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|