Skip to content

Too much memory usage issue #2427

Closed
Closed
@gokhanabatay

Description

@gokhanabatay

We are developing ***** system with nhibernate, our domain model has 900+ tables.
When we build session factory, sql command cache causes high memory usage issue.
Is there a way to tell NHibernate Lazy init all sql commands, when its needed?
Maybe memory cache can be used for unused sql command cleanup?

Below memory dump was taken after first request.

image

image

Duplicate queries
image

image

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions