|
I have a dedicated machine for it because some of my tools don't work in VMs
I use VMs when my dev toolchain can't set up its own virtual environment and needs things like path modifications and such.
I don't bother running a VM to run VStudio. I backup all my work on github for better or worse (my clients are aware of this) and that includes ancillary work product like notes and documentation, even media - they go under my project folder in a "notes" folder.
Even if I was the type of person that could count on myself to run a backup reliably, I still don't like how heavy handed they are. I don't need that huge autogenerated .vs folder for example. I don't need my massive .git folder backed up either.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
So the Performance tab of Task Manager shows 100% of the memory is in use?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
97% - of which ~70% is for VS 2022...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: VS 2022 will use all of it...
That doesn't happen for me.
I see it use a lot when it starts up. But it goes down substantially once everything is loaded. The computer has 32 gig.
I only have one addin tool loaded which is Resharper. I don't use source control from in VS so that is turned off. I did not turn anything else off (presuming that is even possible.) I am using the Professional version.
I also know that Resharper itself can chew up quite a bit of memory when it gets confused.
|
|
|
|
|
Don't know if anyone else has posted this, but going 64 bit didn't help. I shut it down and restart it occasionally - that seems to help.
Paul Sanders.
If I had more time, I would have written a shorter letter - Blaise Pascal.
Some of my best work is in the undo buffer.
|
|
|
|
|
Quote: No matter how much memory I threw at my computer VS 2022 will use all of it...
Depends. I was recently surprised to find VS performing snappier, using much fewer resources and generally doing things faster than VSCode on the same machine and same project.
The reason? A project in plain C, with no added dependencies.
Turns out, trying to decipher C++/C#/Java/etc while you type is an *expensive* process. The time taken just to reload the (template-heavy) headers for a small C++ 1000-line sourcefile is larger, on my machine, than compiling and then linking a single 4000 line C file into a single executable.
And since VS has extensive capabilities WRT to C++/C#/Java source code, all that takes up extensive CPU power, while even the most extensive analysis on C is still a very quick process due to how simple the language is.
|
|
|
|
|
Day -365 when the first release candidate came out. If it makes you feel any better (and why should it) ALL programming IDE's are memory hogs. Right now I am running an instance of VS, VS Code, Android Studio and PHP Storm (I have lots of RAM) and the one chewing up the most RAM is Android Studio, followed by VS, VS Code, and then PHP Storm. If you want to know why, write an addin for Visual Studio and get a look at the API. After that it will still suck up tons of RAM, but you will understand why. The only thing that seems to be as RAM hungry as IDE's are web browsers - ALL of them. But then if the have ever worked with the internal gubbins of Web browsers you will also know why.
|
|
|
|
|
Yesterday I noticed my laptop running very slowly, so I looked at my memory usage, and 'in use' was just under 30GB (there's 32GB available). I realised I hadn't restarted for a few days, probably since the start of the week. I had three instances of VS 2022 running, and they reported using about 4GB between them. So I shut down the three VS instances and it freed up nearly 10GB I guess there are a lot of related programms processes running that wouldn't necessarily show up under VS on Task Manager.
Anyway, I restarted the machine, then launched every application I previously had running, did a build on all three solutions I previously had open, and 'in use' was in low 20s.
Seems like something is a bit leaky to me.
|
|
|
|
|
I don't know if I've noticed. VS uses whatever it has available to it. There's been some performance improvements I've noticed in the past year or so and it seems to me that Win10/11 has better memory allocation as well.
My office box that I physically see a handful of times per year, is an I7-6700 with 16GB memory. Aside from GotomyPC, it typically has VS, a PHP ide, Edge and Firefox with multiple windows and a few dozen tabs open, along with both dev windows open. Also, a couple of Excel windows, Word with a few docs, Outlook and Teams. Occasionally with QGIS running too. The VS project is a large desktop App and I bounce around a lot using the other open apps.
It keeps plugging along without any errors, sometimes with no reboots between MS updates. The only issue is when it sits in "update hell", with a pending system update where it loses pieces of its mind. I have learned the hard way to never, ever, run VS with a pending system update. The results can be, let's say, ugly.
|
|
|
|
|
Can you provide any details? How much memory does your system have? How much is VS using? Sysinternals VMMap is a good tool for looking at how memory inside a process is used, although I suspect the issue is more around how your system memory is being used, for which RAMMAP would be the better tool (although even Task Manager can provide some basic info).
On my system DevEnv.exe (VS) is currently the 3rd largest process with a private working set of 750MB and a commit size of 1.5GB. That seems reasonable on my 32GB system (which is running slow right now, but DevEnv isn't the culprit, and I'm way overdue for a reboot...).
I spent 8 years on the VS performance team, a good chunk of which was keeping it within the 4GB limit for a 32 bit process, so I used to have a pretty good handle on the problem (that was 9 years ago, and now that it's 64 bit that's less of an issue, although good memory hygiene is still important).
|
|
|
|
|
Since forever? Or at least VS 6.0 anecdotally speaking. And with no end in sight.
But so what? For the facilities it gives me which translates directly to speed of accomplishing things buying the bigger machine is well worth it compared to how much get paid.
And this is my long term view after 30 or so years or using VS.
|
|
|
|
|
I first noticed it when upgrading to 2019. Now, with 2022, it's even worse. But I'm also using ReSharper, and their upgrades over the years probably have become more demanding also.
The worst thing (with my old 8 GB RAM and HDD only PC) is that if I leave the machine for a few minutes, Windows memory management instantly throws everything into virtual memory, and then when I get back I have to wait for it to be pulled back into RAM again before I can do anything. Drives me nuts. I presume that if you have plenty of RAM you're at least being spared from that.
|
|
|
|
|
Task Manager reports 2.2G maximum editing/building/debugging .
|
|
|
|
|
That is easy to answer man any rlses after win 10 pro 1903 version lol. VS is a a pos but then again windows wasnt cool since what win xp maybe windows 7 lol. Debian 11 I run and love it windows is just for the special thing lazy days lol.
|
|
|
|
|
Wordle 810 5/6
⬛⬛⬛⬛🟨
⬛⬛⬛⬛🟨
🟨⬛⬛🟨🟨
🟩⬛🟩🟩⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 810 3/6
⬜🟨⬜🟨⬜
🟩🟨⬜⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 810 5/6
⬛⬛⬛⬛🟨
⬛⬛⬛⬛⬛
⬛⬛🟩🟩🟨
🟩⬛🟩🟩⬛
🟩🟩🟩🟩🟩
2nd was a typo and 4th didnt knew word existed!
|
|
|
|
|
Wordle 810 3/6
⬜🟨⬜⬜🟨
⬜⬜🟩🟩🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 810 4/6
⬜⬜🟨⬜⬜
🟩⬜🟩⬜⬜
🟩⬜🟩⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 810 3/6*
⬜⬜⬜⬜🟨
⬜⬜🟨🟨🟨
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
⬜⬜⬜⬜🟨
⬜⬜⬜⬜⬜
⬜🟨🟨🟩⬜
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 810 5/6
⬜⬜⬜⬜⬜
⬜⬜🟩⬜⬜
⬜🟨⬜⬜🟨
🟨🟨⬜⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 810 4/6*
⬜🟨⬜⬜⬜
⬜⬜⬜⬜🟨
⬜⬜⬜🟨🟨
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 810 4/6
⬛🟨⬛⬛🟨
🟩🟨⬛⬛⬛
🟩⬛⬛🟩🟨
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
#Worldle #593 2/6 (100%)
🟩🟩🟩🟩🟨⬆️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|