如何解决C#中的内存异常 [英] How to solve memory exception in C#
本文介绍了如何解决C#中的内存异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有五个XML文件。
II加载超过3个文件系统出现内存异常。
如何解决这个
I am having five XML files.
I I load more than 3 files System Out of memory exception occurs.
How to solve this
推荐答案
你会发现这个Code Project文章很有帮助。
如何打开大型XML文件而不加载XML文件? [ ^ ]
本文中的方法使用XmlTextReader
类。
祝你好运
You will find this Code Project article helpful.
How to Open Large XML files without Loading the XML Files?[^]
The method in the article uses theXmlTextReader
class.
Good luck
这篇关于如何解决C#中的内存异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文