Skip to content

Remove Artificial Object Graph Limit in BinaryFormatter #23971

@Alois-xx

Description

@Alois-xx

Since issue #20569 is solved we now can deserialize bigger object graphs with up to 12 million objects.
As I have found since a long time ago: https://aloiskraus.wordpress.com/2017/04/23/the-definitive-serialization-performance-guide/ there are issues with the max object count BinaryFormatter can cope with because it contains a hard coded prime number table which ends at 6584983 objects.

Please remove this artifical limit and do the same thing like e.g. in Dictionary which also needs prime numbers.

Metadata

Metadata

Assignees

Labels

area-System.RuntimeenhancementProduct code improvement that does NOT require public API changes/additions

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions