Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大文件反序列化会提示 HGlobal cache size exceeds limit. #52

Open
Sunshine201811 opened this issue May 27, 2021 · 0 comments
Open

Comments

@Sunshine201811
Copy link

using (System.IO.FileStream fileStream = new System.IO.FileStream(fileName, System.IO.FileMode.Open))
{

        using (StreamReader streamReader = new StreamReader(fileStream))
        {
           var  gSample = JsonFormatter.DeserializeObject<gSample>( streamReader);
        }
 }

文件大小为 1.3 G, 反序列化提示 HGlobal cache size exceeds limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant