System.OutOfMemoryException error while creating a Wix project

I have installed Visual Studio 2012with Wix 3.9.1208.0. I am trying to create Bootstrapperby accepting BootStrapper Project. Here is the code in Bundle.wxs.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle IconSourceFile="D:\logo.png"  Copyright="2015@Company Name"  Name="Product Name" Version="1.0.0.0" Manufacturer="Company Name" UpgradeCode="ef645195-36e9-4b99-8374-86f8445714d8">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
      <bal:WixStandardBootstrapperApplication
        LicenseFile="D:\License.rtf"
        ShowVersion="yes"
        />
    </BootstrapperApplicationRef>

    <Chain>
  <ExePackage Id="Framework" Name="Microsoft .NET Framework 4.5.1 Setup" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" InstallCommand="/q" SourceFile="D:\NDP451-KB2858728-x86-x64-AllOS-ENU.exe"/>
  <ExePackage Id="SQLCompact" Name="Microsoft SQL Compact 4.0 Setup" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" InstallCommand="/q" SourceFile="D:\SSCERuntime_x86-ENU.exe"/>

  <MsiPackage Id="CRRuntime" Name="Crystal Report Runtime" Cache="no" Compressed="yes" Permanent="yes" SourceFile="D:\CRRuntime_32bit_13_0_13.msi" Vital="yes" />
  </Chain>
</Bundle>

Whenever I try to create a Bootstrapper project, I get an error like exception of type 'System.OutOfMemoryException' was thrownin the file light.exe, and the build fails.

I have a Core i3 processor and 4 GB of RAM, and when building a project, VS uses almost 2 GB of RAM, and the system partially does not respond until I close Visual Studio. Stopping the build process does not free up acquired memory.

Can anyone help me out?

+4
source share
2 answers

, , , , Visual Studio. , .

- , ( , , ), , .

, , , , , - .

( MSDN, , .)

" " " ". , , , .

, , , . , .

, 32- , 3 .

32- 4 , Visual Studio. Available 827 .

enter image description here

, .

4GB of RAM with a 32-bit processor 16GB of RAM with a 64-bit processor .

+1

IconSourceFile png ico. , light.exe System.OutOfMemoryException

0

Source: https://habr.com/ru/post/1598815/


All Articles