When I try to add a migration file through PM, I get an exception in memory. Has anyone else had this problem before and happens to know how to fix it? While I tried to install VS 2013 to no avail
Monitor my memory usage. I have 12 GB and it uses less than 8 while the add migration is in progress, so should be enough. Below is the output
PM> add-migration test
System.OutOfMemoryException: type exception Fixed "System.OutOfMemoryException". in System.AppDomain.DoCallBack (CrossAppDomainDelegate callBackDelegate)in System.Data.Entity.Migrations.Design.ToolingFacade.Run (BaseRunner runner) in System.Data.Entity.Migrations.Design.ToolingFacade.Scaffold (String StringName rootNamespace, Boolean ignoreChanges) in System.Data.Entity.Migrations.AddMigrationCommand.Execute (string name, Boolean force, Boolean ignoreChanges) with System.Data.Entity.Migrations.AddMigrationCommand <. > C__DisplayClass2 <.. ctor> b__0 () in System.Data.Entity.Migrations.MigrationsDomainCommand.Execute (Action command) An exception of type "System.OutOfMemoryException" was thrown.
Visual Studio .
, - . . ReSharper, . , . magicandre1981 , .
EDIT: ReSharper, , - 8.2 # edition, build 8.2.0.2160
. ReSharper (2017.2), . , . . OutOfMemoryException, .
I just happened to me. I slowly returned my steps and deleted DbSets in dbContext one by one until it worked again.
Solved in Visual Studio 2015 with Auto Suspend Function . You will get a popup as shown below.
Just click Re-enable .
Source: https://habr.com/ru/post/1622100/More articles:How the hdfs mv command works - filesystemsSingleton with static inner class and double lock check - javareactjs and rendering simple HTML - javascriptFrom ByteBuffer to double array - javang-change does not start from a flag inside a label - javascriptGoogle message "Not registered" and unsubscribe? - androidCommunication problems in Google Cloud Messaging - androidAre there any conceivable advantages of using CLR types (for example, `System.String` or` [String] `) over Visual Basic keywords (for example,` String`)? - .netСлужба переноса Google Cloud Storage сбой при ошибке UNKNOWN - google-cloud-storageList of shared objects as request body in modification 2 and Gson - androidAll Articles