{"action":"created","issue":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/5441","repository_url":"https://api.github.com/repos/wixtoolset/issues","labels_url":"https://api.github.com/repos/wixtoolset/issues/issues/5441/labels{/name}","comments_url":"https://api.github.com/repos/wixtoolset/issues/issues/5441/comments","events_url":"https://api.github.com/repos/wixtoolset/issues/issues/5441/events","html_url":"https://github.com/wixtoolset/issues/issues/5441","id":191799110,"number":5441,"title":"OutOfMemoryException when saving newly generated WIX project","user":{"login":"mediawolf","id":3645873,"avatar_url":"https://avatars.githubusercontent.com/u/3645873?v=3","gravatar_id":"","url":"https://api.github.com/users/mediawolf","html_url":"https://github.com/mediawolf","followers_url":"https://api.github.com/users/mediawolf/followers","following_url":"https://api.github.com/users/mediawolf/following{/other_user}","gists_url":"https://api.github.com/users/mediawolf/gists{/gist_id}","starred_url":"https://api.github.com/users/mediawolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediawolf/subscriptions","organizations_url":"https://api.github.com/users/mediawolf/orgs","repos_url":"https://api.github.com/users/mediawolf/repos","events_url":"https://api.github.com/users/mediawolf/events{/privacy}","received_events_url":"https://api.github.com/users/mediawolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-26T10:29:59Z","updated_at":"2016-11-26T17:52:56Z","closed_at":null,"body":"WIX 3.10.3.3007\r\nVS 2015 Update 3\r\n.NET Framework 4.6.1\r\n\r\nSteps:\r\n1) Start VS 2015\r\n2) Create new project -> Windows Installer XML -> Bootstrapper Project\r\n3) File -> Save All\r\n4) Specify some project name in 'Save Project' dialog\r\n5) And click 'Save'\r\nFrom this moment devenv.exe will start consuming more and more memory. When memory consumption is around 3.5 GB, a message box appears with 'Out of memory' error message.\r\nCallstack:\r\n>\tMicrosoft.Build.dll!Microsoft.Build.Collections.RetrievableEntryHashSet<Microsoft.Build.Evaluation.ProjectProperty>.IncreaseCapacity()\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Collections.RetrievableEntryHashSet<Microsoft.Build.Evaluation.ProjectProperty>.AddEvenIfPresent(Microsoft.Build.Evaluation.ProjectProperty value = \"HarvestFileTransforms\"=\"\" [\"$(HarvestTransforms)\"])\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Collections.PropertyDictionary<Microsoft.Build.Evaluation.ProjectProperty>.Set(Microsoft.Build.Evaluation.ProjectProperty projectProperty)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Project.Data.SetProperty(Microsoft.Build.Construction.ProjectPropertyElement propertyElement, string evaluatedValueEscaped, Microsoft.Build.Evaluation.ProjectProperty predecessor)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluatePropertyElement(Microsoft.Build.Construction.ProjectPropertyElement propertyElement)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluatePropertyGroupElement(Microsoft.Build.Construction.ProjectPropertyGroupElement propertyGroupElement)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.PerformDepthFirstPass(Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport = \"C:\\\\Program Files (x86)\\\\MSBuild\\\\Microsoft\\\\WiX\\\\v3.x\\\\wix2010.targets\" #Children=189 DefaultTargets=\"Build\" ToolsVersion=\"\" InitialTargets=\"_CheckForInvalidConfigurationAndPlatform;\\r\\n                  _CheckRequiredProperties\" ExplicitlyLoaded=true)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluateImportElement(string directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement = Project=\"$(WixVersionTargetsPath)\" Condition=\"\")\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.PerformDepthFirstPass(Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport = \"C:\\\\Program Files (x86)\\\\MSBuild\\\\Microsoft\\\\WiX\\\\v3.x\\\\Wix.targets\" #Children=2 DefaultTargets=\"\" ToolsVersion=\"\" InitialTargets=\"\" ExplicitlyLoaded=true)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.EvaluateImportElement(string directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement = Project=\"$(WixTargetsPath)\" Condition=\"\")\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.PerformDepthFirstPass(Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport = \"E:\\\\Dev\\\\Bootstrapper1\\\\Bootstrapper1.wixproj\" #Children=6 DefaultTargets=\"Build\" ToolsVersion=\"4.0\" InitialTargets=\"\" ExplicitlyLoaded=true)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.Evaluate()\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Evaluator<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition>.Evaluate(Microsoft.Build.Evaluation.IEvaluatorData<Microsoft.Build.Evaluation.ProjectProperty, Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectMetadata, Microsoft.Build.Evaluation.ProjectItemDefinition> data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, int maxNodeCount, Microsoft.Build.Collections.PropertyDictionary<Microsoft.Build.Execution.ProjectPropertyInstance> environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory<Microsoft.Build.Evaluation.ProjectItem, Microsoft.Build.Evaluation.ProjectItem> itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCache projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.Execution.ProjectInstance projectInstanceIfAnyForDebuggerOnly)\tUnknown\r\n \tMicrosoft.Build.dll!Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary(Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation = {Microsoft.Build.BackEnd.Logging.LoggingService})\tUnknown\r\n \tvotive2010.dll!Microsoft.VisualStudio.Package.ProjectElement.RefreshProperties()\tUnknown\r\n \tvotive2010.dll!Microsoft.VisualStudio.Package.ProjectElement.Rename(string newPath)\tUnknown\r\n \t**votive2010.dll!Microsoft.VisualStudio.Package.ProjectNode.RenameAllChildren(Microsoft.VisualStudio.Package.HierarchyNode node)\tUnknown\r\n \tvotive2010.dll!Microsoft.VisualStudio.Package.ProjectNode.RenameAllChildren(Microsoft.VisualStudio.Package.HierarchyNode node)\tUnknown**\r\n \tvotive2010.dll!Microsoft.VisualStudio.Package.ProjectNode.SaveProjectToLocation(string pszProjectFilename = \"E:\\\\Dev\\\\Bootstrapper1\\\\Bootstrapper1.wixproj\")\tUnknown\r\n \t[Native to Managed Transition]\t\r\n \tmsenv.dll!DoPermanentSave(unsigned short const *,unsigned short const *)\tUnknown\r\n \tmsenv.dll!SavePermanentlyDialogProc(struct HWND__ *,unsigned int,unsigned int,long)\tUnknown\r\n \tmsenv.dll!DlgPreProc(struct HWND__ *,unsigned int,unsigned int,long)\tUnknown\r\n \tuser32.dll!_InternalCallWinProc@20\u001E()\tUnknown\r\n \tuser32.dll!_UserCallDlgProcCheckWow@32\u001E()\tUnknown\r\n \tuser32.dll!_DefDlgProcWorker@24\u001E()\tUnknown\r\n \tuser32.dll!_DefDlgProcW@16\u001E()\tUnknown\r\n \tuser32.dll!_InternalCallWinProc@20\u001E()\tUnknown\r\n \tuser32.dll!_UserCallWinProcCheckWow@32\u001E()\tUnknown\r\n \tuser32.dll!_SendMessageWorker@24\u001E()\tUnknown\r\n \tuser32.dll!_SendMessageW@16\u001E()\tUnknown\r\n \tcomctl32.dll!Button_NotifyParent(struct tagBUTN *,unsigned int)\tUnknown\r\n \tcomctl32.dll!Button_ReleaseCapture(struct tagBUTN *,int)\tUnknown\r\n \tcomctl32.dll!Button_WndProc(struct HWND__ *,unsigned int,unsigned int,long)\tUnknown\r\n \tuser32.dll!_InternalCallWinProc@20\u001E()\tUnknown\r\n \tuser32.dll!_UserCallWinProcCheckWow@32\u001E()\tUnknown\r\n \tuser32.dll!_DispatchMessageWorker@8\u001E()\tUnknown\r\n \tuser32.dll!_DispatchMessageW@4\u001E()\tUnknown\r\n \tuser32.dll!_IsDialogMessageW@8\u001E()\tUnknown\r\n \tuser32.dll!_DialogBox2@16\u001E()\tUnknown\r\n \tuser32.dll!_InternalDialogBox@24\u001E()\tUnknown\r\n \tuser32.dll!_DialogBoxIndirectParamAorW@24\u001E()\tUnknown\r\n \tuser32.dll!_DialogBoxIndirectParamW@20\u001E()\tUnknown\r\n \tmsenv.dll!`anonymous namespace'::ManagedExceptionSafeDialogBox()\tUnknown\r\n \tmsenv.dll!DlgBoxParamPVoid(void *)\tUnknown\r\n \tmsenv.dll!VBDialogCover2(int (*)(void *),void *,struct HWND__ * *,int)\tUnknown\r\n \tmsenv.dll!VBDialogBoxParam(struct HINSTANCE__ *,unsigned long,int (*)(struct HWND__ *,unsigned int,unsigned int,long),long)\tUnknown\r\n \tmsenv.dll!CheckAndDoPermanentSave(unsigned long)\tUnknown\r\n \tmsenv.dll!HrExecSaveAll(void)\tUnknown\r\n \tmsenv.dll!HrShellExec(struct _GUID const *,unsigned long,unsigned long,struct tagVARIANT *,struct tagVARIANT *)\tUnknown\r\n \tmsenv.dll!CVSCommandTarget::ExecCmd(class CIcmdGuidCmdId const *,struct _GUID const *,unsigned long,unsigned long,struct tagVARIANT *,struct tagVARIANT *,struct _GUID *)\tUnknown\r\n \tmsenv.dll!FTranslateAcceleratorEx(struct tagMSG *,int,unsigned long *,unsigned long *,int,int,unsigned long const *,int *)\tUnknown\r\n \tmsenv.dll!FTranslateAccelerator(struct tagMSG *,int,unsigned long *,unsigned long *)\tUnknown\r\n \tmsenv.dll!CMsoComponent::MainFTranslateMessage(struct tagMSG *,unsigned long)\tUnknown\r\n \tmsenv.dll!CMsoComponent::FPreTranslateMessage(struct tagMSG *)\tUnknown\r\n \tmsenv.dll!SCMI::FPreTranslateMessage(struct tagMSG *)\tUnknown\r\n \tmsenv.dll!SCM_MsoStdCompMgr::FPreTranslateMessage(struct tagMSG *)\tUnknown\r\n \tmsenv.dll!MainMessageLoop::ProcessMessage(struct IMsoStdComponentMgr *,struct IVsWindowManager *,struct tagMSG &)\tUnknown\r\n \tmsenv.dll!CMsoCMHandler::EnvironmentMsgLoop(void)\tUnknown\r\n \tmsenv.dll!CMsoCMHandler::FPushMessageLoop(unsigned long)\tUnknown\r\n \tmsenv.dll!SCM::FPushMessageLoop(class SCMI *,unsigned long,void *)\tUnknown\r\n \tmsenv.dll!SCM_MsoCompMgr::FPushMessageLoop(unsigned long,unsigned long,void *)\tUnknown\r\n \tmsenv.dll!CMsoComponent::PushMsgLoop(unsigned long)\tUnknown\r\n \tmsenv.dll!VStudioMainLogged(void)\tUnknown\r\n \tmsenv.dll!_VStudioMain\u001E()\tUnknown\r\n \tdevenv.exe!util_CallVsMain(struct MAINPARAM *,int *)\tUnknown\r\n \tdevenv.exe!CDevEnvAppId::Run(unsigned short *,int)\tUnknown\r\n \tdevenv.exe!_WinMain@16\u001E()\tUnknown\r\n \tdevenv.exe!__scrt_common_main_seh()\tUnknown\r\n \tkernel32.dll!@BaseThreadInitThunk@12\u001E()\tUnknown\r\n \tntdll.dll!___RtlUserThreadStart@8\u001E()\tUnknown\r\n \tntdll.dll!__RtlUserThreadStart@8\u001E()\tUnknown\r\n\r\nGenerated project:\r\n[Bootstrapper1.zip](https://github.com/wixtoolset/issues/files/614144/Bootstrapper1.zip)\r\n\r\nDump file is not attached for obvious reason. However VS and 32-bit WinDbg failed to debug it due to its size. I've used two VS instances, where one instance debugged another one, to catch OutOfMemory condition.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wixtoolset/issues/issues/comments/263076698","html_url":"https://github.com/wixtoolset/issues/issues/5441#issuecomment-263076698","issue_url":"https://api.github.com/repos/wixtoolset/issues/issues/5441","id":263076698,"user":{"login":"mediawolf","id":3645873,"avatar_url":"https://avatars.githubusercontent.com/u/3645873?v=3","gravatar_id":"","url":"https://api.github.com/users/mediawolf","html_url":"https://github.com/mediawolf","followers_url":"https://api.github.com/users/mediawolf/followers","following_url":"https://api.github.com/users/mediawolf/following{/other_user}","gists_url":"https://api.github.com/users/mediawolf/gists{/gist_id}","starred_url":"https://api.github.com/users/mediawolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediawolf/subscriptions","organizations_url":"https://api.github.com/users/mediawolf/orgs","repos_url":"https://api.github.com/users/mediawolf/repos","events_url":"https://api.github.com/users/mediawolf/events{/privacy}","received_events_url":"https://api.github.com/users/mediawolf/received_events","type":"User","site_admin":false},"created_at":"2016-11-26T17:52:56Z","updated_at":"2016-11-26T17:52:56Z","body":"Probably it's affected by \"Save new projects when created\" which I turned off in \"Project and Solutions\" settings."}}
{"actor":{"display_login":"mediawolf"}}