Really more of a note for a README than an issue.
I would randomly receive timeout errors on object generation. Running the TableSQL statement trough SSMS would sometimes return in 3 seconds, sometimes take 3 minutes to run.
My database while not too large has many many relationships - the result of the tablesql query was about 2490 rows.
The solution in a dev environment was to give SQL Server more memory - it was being swapped out.
The following will force SQL to use 512 mb of RAM and at least for me cause entity generation to be very quick, 1-2 seconds to complete. Hope this helps others.
EXEC sys.sp_configure N'show advanced options', N'1' RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure N'min server memory (MB)', N'512'
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure N'show advanced options', N'0' RECONFIGURE WITH OVERRIDE
GO
I would randomly receive timeout errors on object generation. Running the TableSQL statement trough SSMS would sometimes return in 3 seconds, sometimes take 3 minutes to run.
My database while not too large has many many relationships - the result of the tablesql query was about 2490 rows.
The solution in a dev environment was to give SQL Server more memory - it was being swapped out.
The following will force SQL to use 512 mb of RAM and at least for me cause entity generation to be very quick, 1-2 seconds to complete. Hope this helps others.
EXEC sys.sp_configure N'show advanced options', N'1' RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure N'min server memory (MB)', N'512'
GO
RECONFIGURE WITH OVERRIDE
GO
EXEC sys.sp_configure N'show advanced options', N'0' RECONFIGURE WITH OVERRIDE
GO