Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

A 32-bit program throws an exception of System.OutOfMemoryException #427

Open
Ersoga opened this issue Nov 28, 2022 · 1 comment
Open

A 32-bit program throws an exception of System.OutOfMemoryException #427

Ersoga opened this issue Nov 28, 2022 · 1 comment
Labels

Comments

@Ersoga
Copy link

Ersoga commented Nov 28, 2022

In the EncodingType class, an OutOfMemoryException is raised when a large FileStream is read.
throw by the line:
image

I made the following modifications:
add function:
image
Modify the GetType function:
image

@haplokuon
Copy link
Owner

I see why that method might fail in a 32 bit system with very big files, what I do not understand is why is giving you problems since that is old code not used anymore, I should have deleted it.

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

No branches or pull requests

2 participants