Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Fail to add Schema Fail to add SchemaTo: NULL Date: 10/3/2005 7:20:00 AM 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 | |||
|
