I'm trying to use Visual Studios for Mac (Preview 9) to code apps in Xamarin but occasionally, not only does Xamarin freezes but it freezes all my other programs that I'm using on my Macbook Pro retina 15 inch mid 2015 model. The only solution to get my MacBook Pro to respond to me again is to hold down the power button till it shuts down and then restart my entire machine.
I see that the Macbook Pro model that I'm using only contains 16GB of RAM. I normally open up an instance of Chrome to watch my Udemy video and have an instance of Visual Studios opened to code as I watch along. I also have an instance of the iPhone simulator opened as well.
When my Macbook Pro freezes, I can open Activity Monitor to check out the memory usage for Visual Studios for Mac and at that point, the RAM used by Visual Studios is approximately 9-10GB, sometimes even higher.
Why does Visual Studios consume so much memory? I have a feeling that because it is hogging all the resources, it is causing my MacBook Pro to freeze / be unresponsive.
Related
I'm working in Visual Studio 2022 in C++, but lately cl.exe started to load my RAM very heavily, with 8 gb of my RAM cl.exe eats up 5 gb, not even during compilation but just when the studio is open.
After that, the computer hangs completely, the mouse does not move, the keyboard does not react in any way, the time on the taskbar does not go. After installing a paging file on the drive where Visual Studio is installed, the computer practically stopped freezing, but still the mouse moves jerkily, and everything is very laggy
When running my UWP Xbox one app with the debugger attached, if I try to take a snapshot it begins counting memory objects and then the app closes and the debugger disconnects. I tried using Visual Studio 2017, as well as Visual Studio 2019 and I also tried repairing my Visual Studio installations. Both versions exhibit the same behavior.
I have installed Visual studio 2015 Community edition and wanted to try Xamarin for Android/iOS development. Default installation for VS doesnt show me any installed emulator with visual studio.
I am new to mobile development and not sure which emulator to install. There are options like Visual studio Android Emulator for 2015. But it wont work on my Windows 10 home edition.
Please suggest.
As Toby suggested below. I used Xamarin Player. It is not straight forward process though. I did following steps if some one is interested.
1) Installed Xamarin Android Player.
2) Had Oracle VM Box manager installed previously as part of Android SDK(I think).
3) After installing Xamarin Android Player, It prompted for the device I wanted to use. I selected Nexus 5 KitKat. After downloading required files. I tried to run the device. Got another error!! Saying 'Xamarin Fail to initialize device'.
3) I opened Oracle VM and selected the device. Clicked on Settings > System > Base memory. Reduced base memory to 1024 MB. Saved the changes.
4) Opened Xamarin Studio and re-ran the device.
Success!!!
5) Came back to Visual Studio. It started to show me the device in Visual Studio. Ran the solution and Voila! App is indeed in visual studio.
That is correct. Visual Studio Emulator for Android works only with the Pro version or higher of the operating systems Windows 8, Windows 8.1 and Windows 10. Instead of the Visual Studio Emulator for Android, you can test your Android application with the Android Player from Xamarin. The Xamarin Android Player works official with all version of Windows 7, Windows 8 and Windows 8.1. I use the Xamarin Android Player with Windows 10 without issues. Alternative you can use the Android Emulator from the SDK.
Visual studio 2010 crashes every now and then while developing for windows phone 7. Most of the times the enviornment hangs for a few seconds shows a message that display driver recovered from some critical error.Some time its a BSOD. I am experiancing the same in 2-3 machines. Is it just me or something else is wrong?
When I launch Visual Studio 2010, the inner work area screen always goes black or white and the title bar says VS is not responding. It does this for about 20 seconds before returning to normal operation.
Does anyone else experience this, and how can it be fixed?
Windows Vista32 with 2GB RAM, ATI Radeon 4850
Doesn't sound like you have enough RAM to handle visual studio during start up. I experienced this on my previous machine (vista32 2GB RAM) before buying a new Windows 7 64 bit 8 GB RAM and now everything works fine.
I had the same issue and found this incredibly useful. PowerCommands for Visual Studio 2010 Simply install it and go to the File Menu / Recent projects and Recent Files and clear the list. That will speed up visual studio signficantly.