DotnetSpider icon indicating copy to clipboard operation
DotnetSpider copied to clipboard

XPathSelector内存消耗过大

Open evanpeng-life opened this issue 2 years ago • 3 comments

以前的.net framework版本好像不存在这个问题,现在的XPathSelector需要去频繁的创建HtmlDocument导致内存消耗有点大

evanpeng-life avatar Aug 11 '22 04:08 evanpeng-life

动不动就1G以上

evanpeng-life avatar Aug 11 '22 04:08 evanpeng-life

Hi, I would like to help here. However I do not speak Chinese, could you please explain what the issue is in English?

lexa044 avatar Sep 23 '22 13:09 lexa044

use chatgpt to understand them you have so many translation tools to use

Rough Translation The text you provided in Chinese translates to English as:

"XPathSelector High Memory Consumption #235

It seems that this issue did not exist in previous .net framework versions. The current XPathSelector requires frequent creation of HtmlDocument, leading to a bit high memory consumption. It easily exceeds 1G."

This appears to be a comment or a bug report related to the memory consumption of XPathSelector in a certain version of the .NET framework, contrasting it with previous versions.

TheRealKraytonian avatar Dec 02 '23 04:12 TheRealKraytonian