Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Fail to add Schema [Thread Next] Re: Fail to add SchemaTo: NULL Date: 10/7/2005 1:08:00 PM The 'Server Busy..." error seems to be originating from a web service. Are you writing this XmlSchema code in some ASP.NET app? "Rain Dragon" <yulongcao@g...> wrote in message news:1128349176.948369.83550@g...... > Hi All, > > I loaded a schema in memory ONCE. > _mSchema = XmlSchema.Read(new XmlTextReader(strSchemaURL), null); > > Late, i always use it ot validate my XML fragment (strXML): > XmlValidatingReader _valReader = new XmlValidatingReader(new > XmlTextReader(strXML, XmlNodeType.Document, null)); > _valReader.Schemas.Add(_mSchema); > > Most of times, 'Add' works fine. But after Memory Usage exceeds the > number of Physical Memory and Memory Usage of my application comes back > to normal (i.e less than Physical Memory), 'Add' will fail (an > exception is thrown). 'Server Busy..." will happen to my application > (above codes are in my service). it looks like memory issues in .Net > memory cache problem? > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
