[wix-users] heat.exe System.OutOfMemoryException help

Shintaro Takechi devst119 at gmail.com
Wed Jul 13 09:48:39 PDT 2016


Since this command is running in visual studio pre-build event, I am not
even at the point to make separate msi packages.
May be I will robocopy each subdirectories in separate location of local
drive and output them in different wxs.
I guess my next step is to research how to use robocopy well?

This command line call to heat is just copied from what HeatDirectory
generated for me.
The reason I am using command line version over HeatDirectory is because I
had to insert robocopy to copy files in my local drive.


On Wed, Jul 13, 2016 at 9:40 AM, Phill Hogland <phill.hogland at rimage.com>
wrote:

> >>What would be the best approach to harvest in smaller sections?
>
> I have seen before the recommendations to create a bundle and drive
> multiple MSI packages.  I don't have the expertise to say that is the
> "best" but it has worked very well for my projects.  I have also seen the
> recommendation to be careful when using heat.exe and check the resulting
> output carefully.  So I do have several MSI projects that make use of
> HarvestDirectory target, which I greatly prefer over any command line call
> to heat.
>
>
>
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/HarvestDirectory-target-for-multiple-directories-td7596917.html
>
>
> ________________________________
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
> Shintaro Takechi <devst119 at gmail.com>
> Sent: Wednesday, July 13, 2016 11:27:35 AM
> To: WiX Toolset Users Mailing List
> Subject: Re: [wix-users] heat.exe System.OutOfMemoryException help
>
> > Phill
> What would be the best approach to harvest in smaller sections?
> I still would like to enjoy the automatic file gathering of heat.exe.
> I currently have 32GB of memory, but would getting bigger memory help?
> I feel like as files are getting larger, the problem will persist.
>
> On Wed, Jul 13, 2016 at 9:17 AM, Phill Hogland <phill.hogland at rimage.com>
> wrote:
>
> > >>The size of whole folder that I am trying to include comes out to be
> > 8.56GB
> > with 17220 files and 1589 folders.
> > >>Would anybody know the solution for this?
> >
> > Harvest smaller sections.
> > Get more memory.
> >
> >
> >
> > ________________________________
> > From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
> > Wheeler, Blaine (DSHS/DCS) <BWheeler at dshs.wa.gov>
> > Sent: Wednesday, July 13, 2016 11:14:48 AM
> > To: WiX Toolset Users Mailing List
> > Subject: Re: [wix-users] heat.exe System.OutOfMemoryException help
> >
> > How many files are you trying to harvest?  Heat can handle an awful lot.
> >
> > Could you share the heat command in your next post to this list?
> >
> > -----Original Message-----
> > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> Behalf
> > Of Shintaro Takechi
> > Sent: Wednesday, July 13, 2016 8:39 AM
> > To: WiX Toolset Users Mailing List
> > Subject: Re: [wix-users] heat.exe System.OutOfMemoryException help
> >
> > Right. It is network drive. Hence in the second example I first execute
> > the robocopy to copy to my local drive and tried the heat. But got same
> out
> > of memory exception...
> >
> > Get Outlook for iOS
> >
> >
> >
> >
> > On Tue, Jul 12, 2016 at 10:20 PM -0700, "Farrukh Waheed" <
> > farrukh1 at gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > What do you mean by "files on the network" ?
> >
> > On 13 July 2016 at 04:37, Shintaro Takechi  wrote:
> >
> > > files on the network
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
> >
> >
> >
> >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list