You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a desktop application with 470 entities. The problem is that the application consumes more around 150MB in memory just when initializing the application, and of course this increases as the user uses. We have a long-term concern because this domain will grow.
We have clients that use Terminal Service, with many users, and our infrastructure reality in Brazil is precarious, which has generated problems of slowness in the system.
Is it possible to do something to decrease memory consumption at startup?
It would be great if Nhibernate created all the necessary configuration (loaders, proxies, sql strings) only in the first use of the entity, although this means to lose some performance in the first access.
Has anyone ever had this kind of problem? Do you know a strategy to improve?
The text was updated successfully, but these errors were encountered:
It was about lazy initializing some of the memory consuming data, but due to the bad impact it would have on warm-up (for example for server farms which do application warm-up on newly brought up instances before actually adding them to the farm), it was concluded:
We have a desktop application with 470 entities. The problem is that the application consumes more around 150MB in memory just when initializing the application, and of course this increases as the user uses. We have a long-term concern because this domain will grow.
We have clients that use Terminal Service, with many users, and our infrastructure reality in Brazil is precarious, which has generated problems of slowness in the system.
Is it possible to do something to decrease memory consumption at startup?
It would be great if Nhibernate created all the necessary configuration (loaders, proxies, sql strings) only in the first use of the entity, although this means to lose some performance in the first access.
Has anyone ever had this kind of problem? Do you know a strategy to improve?
The text was updated successfully, but these errors were encountered: