-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too much memory usage issue #2427
Comments
Yeah, we know. @gokhanabatay it was reported already. Duplicate of #1316 Can you try "fix" in #1904? |
"Agree. Better to optimize the code in batchers instead." you said in #1944 @hazzik which fix, I can try right now? |
See #2959 |
Yes, I just found this one and about to test it but does it go with "default_batch_fetch_size" or only use "batch_fetch_style" ? |
They do not control the same thing. batch fetch size controls the batch size, and disable batching if it is 1 or less, whatever the value of the fetch style. So, you still need to specify batch sizes if you want to use batching. The style only changes the implementation used for batching, when batching is enabled. |
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.
Duplicate queries

The text was updated successfully, but these errors were encountered: