Hi,
We have a 32Bit .NET application that connects to a 4.0 vSphere Server via a compiled wsdl dll.
Inside the constructor of the VIMService Class we receive an OutOfMemoryException.
- for what is all that memory needed at this moment? – we don’t have requested any data at this time
- is it possible to decrease memory allocation by the VIMService Object at the moment of creation
- we also have recognized that the connect needs a lot of time (about 3 to 5 minutes)
- is it possible to speed it up
Stacktrace :
System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength)
System.Text.StringBuilder.Append(String value)
System.IO.StringWriter.Write(String value)
System.Xml.Serialization.IndentedWriter.Write(String s)
System.Xml.Serialization.XmlSerializationReaderCodeGen.WriteQNameEqual(String source, String name, String ns)
System.Xml.Serialization.XmlSerializationReaderCodeGen.WriteLiteralStructMethod(StructMapping structMapping)
System.Xml.Serialization.XmlSerializationReaderCodeGen.WriteStructMethod(StructMapping structMapping)
System.Xml.Serialization.XmlSerializationReaderCodeGen.GenerateMethod(TypeMapping mapping)
System.Xml.Serialization.XmlSerializationCodeGen.GenerateReferencedMethods()
System.Xml.Serialization.XmlSerializationReaderCodeGen.GenerateEnd(String[] methods, XmlMapping[] xmlMappings, Type[] types)
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)
System.Xml.Serialization.XmlSerializer.GetSerializersFromCache(XmlMapping[] mappings, Type type)
System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type)
System.Web.Services.Protocols.SoapClientType..ctor(Type type)
System.Web.Services.Protocols.SoapHttpClientProtocol..ctor()
DSVmwareAll.VimService..ctor()
thanks in advance,
Peter