Skip to content

Stack Overflow Exception when too many back references are loaded recursively #3710

@Epicycle23

Description

@Epicycle23

.NET Framework 4.8
NHibernate 5.4.2

When loading an Entity with a back reference (many-to-one) which results in having to load thousands of records the Loader crashes with a StackOverflowException.
Increasing the stack frame size "fixes" it.

Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions