Any profiler, the one in VS2005 would probably work.  You can also do a kind of 
poor man's profiling by using a debugger and PerfMon to watch the allocated 
memory.

From: TibTam [mailto:[EMAIL PROTECTED]
Sent: Friday, December 08, 2006 12:21
To: Rob Mensching
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] memory usage

What kind of profiler do you mean?
I'm surprised too, one of my collegues wants me to solve this issue. :)


Rob Mensching wrote:

I'm not aware of any changes.  You could stick a profiler on it and see where 
the memory is blowing up.  I'm a little surprised though because there are 
teams that have MSI files double this size doing just fine inside Microsoft.







-----Original Message-----



From: TibTam [mailto:[EMAIL PROTECTED]



Sent: Friday, December 08, 2006 11:45



To: Rob Mensching



Cc: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>



Subject: Re: [WiX-users] memory usage







Well..



We build a package.



Made some development, but nothing changed in the Wix source files.



After this Wix used at least double of the memory it usually uses, and



we got this error.



A file change or something like this can cause wix to eat the memory?



Did anybody see this kind of error?







Tamas







Rob Mensching wrote:





Usually that error occurs because you ran out of memory.  I'm not aware of any 
other cases.







-----Original Message-----



From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] On 
Behalf Of Tamas Tiboldi



Sent: Thursday, December 07, 2006 23:05



To: wix-users@lists.sourceforge.net<mailto:wix-users@lists.sourceforge.net>



Subject: Re: [WiX-users] memory usage











Thanks, i'll take a look.







What can be the cause of this error (still the same, big, problematic



package)?:







candle.exe : error CNDL0001 : Exception of type



'System.OutOfMemoryException' was thrown.







Exception Type: System.OutOfMemoryException







Stack Trace:



   at System.String.GetStringForStringBuilder(String value, Int32



startIndex, Int32 length, Int32 capacity)



   at System.Text.StringBuilder.GetNewString(String currentString, Int32



requiredLength)



   at System.Text.StringBuilder.Append(String value)



   at System.IO.StringWriter.Write(String value)



   at System.Xml.XmlTextEncoder.Write(String text)



   at System.Xml.XmlTextWriter.WriteString(String text)



   at System.Xml.XmlWriter.WriteAttributeString(String localName, String



value)



   at



Microsoft.Tools.WindowsInstallerXml.Preprocessor.PreprocessReader(Boolean



include, XmlReader reader, XmlWriter writer, Int32 offset)



   at



Microsoft.Tools.WindowsInstallerXml.Preprocessor.PreprocessInclude(String



includePath, XmlWriter writer)



   at



Microsoft.Tools.WindowsInstallerXml.Preprocessor.PreprocessReader(Boolean



include, XmlReader reader, XmlWriter writer, Int32 offset)



   at Microsoft.Tools.WindowsInstallerXml.Preprocessor.Process(String



sourcePath)



   at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Run(String[] args)











light.exe : error LGHT0001 : Exception of type 'System.OutOfMemoryException'



was thrown.







Exception Type: System.OutOfMemoryException







Stack Trace:



   at System.String.CtorCharArrayStartLength(Char[] value, Int32 startIndex,



Int32 length)



   at System.Xml.XmlTextReaderImpl.NodeData.get_StringValue()



   at System.Xml.XmlTextReaderImpl.get_Value()



   at System.Xml.XmlTextReader.get_Value()



   at System.Xml.XmlValidatingReaderImpl.get_Value()



   at System.Xml.Schema.BaseValidator.ValidateText()



   at System.Xml.Schema.XsdValidator.Validate()



   at System.Xml.XmlValidatingReaderImpl.ProcessCoreReaderEvent()



   at System.Xml.XmlValidatingReaderImpl.Read()



   at System.Xml.XmlValidatingReader.Read()



   at Microsoft.Tools.WindowsInstallerXml.Field.Parse(XmlReader reader)



   at



Microsoft.Tools.WindowsInstallerXml.Intermediate.ParseTuple(Intermediate



intermediate, XmlReader reader, Section section, TableDefinition tableDef)



   at



Microsoft.Tools.WindowsInstallerXml.Intermediate.ParseTable(Intermediate



intermediate, XmlReader reader, Section section, TableDefinitionCollection



tableDefinitions)



   at



Microsoft.Tools.WindowsInstallerXml.Intermediate.ParseSection(Intermediate



intermediate, XmlReader reader, TableDefinitionCollection tableDefinitions)



   at



Microsoft.Tools.WindowsInstallerXml.Intermediate.ParseIntermediate(Intermediate



intermediate, XmlReader reader, TableDefinitionCollection tableDefinitions,



Boolean suppressVersionCheck)



   at Microsoft.Tools.WindowsInstallerXml.Intermediate.Load(XmlReader



reader, String path, TableDefinitionCollection tableDefinitions, Boolean



suppressVersionCheck)



   at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)







--



View this message in context: 
http://www.nabble.com/memory-usage-tf2774539.html#a7753597



Sent from the wix-users mailing list archive at Nabble.com.











-------------------------------------------------------------------------



Take Surveys. Earn Cash. Influence the Future of IT



Join SourceForge.net's Techsay panel and you'll get the chance to share your



opinions on IT & business topics through brief surveys - and earn cash



http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV



_______________________________________________



WiX-users mailing list



WiX-users@lists.sourceforge.net<mailto:WiX-users@lists.sourceforge.net>



https://lists.sourceforge.net/lists/listinfo/wix-users


















-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to