chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi.
I experience problems opening solution after installing 5.4.2
VS hangs and then crushes reporting to Microsoft. If I disable typemock the solution loads fine.
The same behavior on another computer.
Solution contains 102 projects including UI, web-services, web-project and web-site.
Other solutions load but much longer than before.

I turned on logging in configuration but the log is 2 MB and I wan't place it here (however I e-mailed it to Typemock support). It seems like there is a memory leak caused by recursive calls:

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
00:00:00.4330832: *** Project Wumte.WebService.UnitTests has these project references: Wumte.Server.AS400Odbc, Wumte.Server.Distribution, Wumte.Server.EDocuments, Wumte.Server.MoneyLaundering, Wumte.Server, Wumte.WebService, Wumte00:00:00.4358067: Loading project Wumte.Server.AS400Odbc\Wumte.Server.AS400Odbc.csproj files --started00:00:00.4629577: Loading project Wumte.Server.AS400Odbc\Wumte.Server.AS400Odbc.csproj files --finished00:00:00.0000005: Loading project Wumte.Server.AS400Odbc\Wumte.Server.AS400Odbc.csproj references --started00:00:00.0010087: *** Project Wumte.Server.AS400Odbc has these assembly references: IBM.Data.DB2.iSeries, Interop.cwbx, Microsoft.Practices.ObjectBuilder, System, System.Data, System.Web.Services, System.Xml, mscorlib00:00:01.6441966: *** Project Wumte.Server.AS400Odbc has these project references: Wumte.Server, Wumte00:00:01.6464583: Loading project Wumte.Server\Wumte.Server.csproj files --started00:00:01.6625778: Loading project Wumte.Server\Wumte.Server.csproj files --finished00:00:00.0000004: Loading project Wumte.Server\Wumte.Server.csproj references --started00:00:00.0007738: *** Project Wumte.Server has these assembly references: Microsoft.Practices.EnterpriseLibrary.Common, Microsoft.Practices.EnterpriseLibrary.Data, Microsoft.Practices.ObjectBuilder, System, System.Data, System.Web.Services, System.Xml, mscorlib00:00:01.5737192: *** Project Wumte.Server has these project references: Wumte00:00:01.5747588: Loading project Wumte\Wumte.csproj files --started00:00:01.6069293: Exception was caught when updating code file TypeMock.Productivity.Common.Model.CodeFile - System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at TypeMock.Productivity.Common.Model.SharpDevelopParserWrapper.GetNewCompilationUnit(String code, IProjectContent projectContent)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.UpdateCodeFile(CodeFile codeFile)
at TypeMock.Productivity.Common.Synchronization.DTEProjectSynchronizer.LoadProjectCodeFiles()00:00:01.6078691: Exception was caught when updating code file TypeMock.Productivity.Common.Model.CodeFile - System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at TypeMock.Productivity.Common.Model.SharpDevelopParserWrapper.GetNewCompilationUnit(String code, IProjectContent projectContent)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.UpdateCodeFile(CodeFile codeFile)
at TypeMock.Productivity.Common.Synchronization.DTEProjectSynchronizer.LoadProjectCodeFiles()00:00:01.6086034: Exception was caught when updating code file TypeMock.Productivity.Common.Model.CodeFile - System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at TypeMock.Productivity.Common.Model.SharpDevelopParserWrapper.GetNewCompilationUnit(String code, IProjectContent projectContent)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.UpdateCodeFile(CodeFile codeFile)
at TypeMock.Productivity.Common.Synchronization.DTEProjectSynchronizer.LoadProjectCodeFiles()00:00:01.6093458: Exception was caught when updating code file TypeMock.Productivity.Common.Model.CodeFile - System.ArgumentNullException: Value cannot be null.
.....
..... (about 6K of lines here...)
.....
at System.IO.StringReader..ctor(String s)
at TypeMock.Productivity.Common.Model.SharpDevelopParserWrapper.GetNewCompilationUnit(String code, IProjectContent projectContent)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.UpdateCodeFile(CodeFile codeFile)
at TypeMock.Productivity.Common.Synchronization.DTEProjectSynchronizer.LoadProjectCodeFiles()00:00:00.0026493: Exception was caught when updating code file TypeMock.Productivity.Common.Model.CodeFile - System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at TypeMock.Productivity.Common.Model.SharpDevelopParserWrapper.GetNewCompilationUnit(String code, IProjectContent projectContent)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.UpdateCodeFile(CodeFile codeFile)
at TypeMock.Productivity.Common.Synchronization.DTEProjectSynchronizer.LoadProjectCodeFiles()00:00:00.0029966: Loading project Wumte.Server.Reports\Wumte.Server.Reports.csproj files --finished00:00:00.0000004: Loading project Wumte.Server.Reports\Wumte.Server.Reports.csproj references --started00:00:00.0011125: *** Project Wumte.Server.Reports has these assembly references: Microsoft.Practices.ObjectBuilder, System, System.Data, System.Web.Services, System.Xml, mscorlib00:00:35.6978726: Exception thrown when adding assembly reference c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.RuntimeType.RuntimeTypeCache.MemberInfoCache`1.PopulateMethods(Filter filter)
at System.RuntimeType.RuntimeTypeCache.MemberInfoCache`1.Populate(String name, MemberListType listType, CacheType cacheType)
at System.RuntimeType.RuntimeTypeCache.MemberInfoCache`1.GetMemberList(MemberListType listType, String name, CacheType cacheType)
at System.RuntimeType.RuntimeTypeCache.GetMemberList[T](MemberInfoCache`1& m_cache, MemberListType listType, String name, CacheType cacheType)
at System.RuntimeType.GetMethodCandidates(String name, BindingFlags bindingAttr, CallingConventions callConv, Type[] types, Boolean allowPrefixLookup)
at System.RuntimeType.GetMethods(BindingFlags bindingAttr)
at ICSharpCode.SharpDevelop.Dom.ReflectionLayer.ReflectionClass.InitMembers(Type type)
at ICSharpCode.SharpDevelop.Dom.ReflectionLayer.ReflectionClass..ctor(ICompilationUnit compilationUnit, Type type, String fullName, IClass declaringType)
at ICSharpCode.SharpDevelop.Dom.ReflectionProjectContent..ctor(Assembly assembly, String assemblyLocation, ProjectContentRegistry registry)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.LoadReferenceFromAssembly(String assemblyPath)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.AddAssemblyReference(String assemblyName, String assemblyPath)
at TypeMock.Productivity.Common.Synchronization.ProjectSynchronizer.AddAssemblyReferenceIfNeeded(String assemblyName, String assemblyPath)
at TypeMock.Productivity.Common.Synchronization.DTEProjectSynchronizer.AddAssemblyReferences(IEnumerable`1 assemblyRefs)00:01:59.9353504: Exception thrown when adding assembly reference c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.String.InternalSubString(Int32
asked by 3ter (2.5k points)

5 Answers

0 votes
Hi,

There seem to be an issue when Typemock.Productivity tries to load a lot of projects (just like you said - more then a 100).
I don't think you need to disable Typemock just Typemock.productivity (different add-in).

We're currently investigating this issue and I would update this thread when we have a fix for this problem.
answered by dhelper (11.9k points)
0 votes
Thanks, it helps.
answered by 3ter (2.5k points)
0 votes
I think I am seeing the same problem here on a vs solution with 27 projects.

I have to disable both typemock and typemock productivity in order to get the vs solution back from hang.
________
First-generation chevrolet camaro specifications
answered by nsoonhui (59.1k points)
0 votes
I'm experiencing a similar problem.

With the Productivity plug-in active the whole IDE slows down and is not usable. When I disable it, all is fine again.

HTH,
Martin.
answered by MartinH (3.2k points)
0 votes
Hi All,

We've released a new version of Isolator.

This version contains some bug fixes and major performance improvement to productivity feature.

You're welcome to download it: http://learn.typemock.com/download/

Regards,
Elisha
Typemock Support
answered by Elisha (12k points)
...