Skip to content

Refactor Command parts to avoid duplicate characters. Reduces memory footprint#3742

Open
tschu-schleupen wants to merge 5 commits intonhibernate:masterfrom
schleupen:5.5.x
Open

Refactor Command parts to avoid duplicate characters. Reduces memory footprint#3742
tschu-schleupen wants to merge 5 commits intonhibernate:masterfrom
schleupen:5.5.x

Conversation

@tschu-schleupen
Copy link
Copy Markdown

Adresses #3608
Related to and idea to fix it from #3640

We noticed ", " dominated memory consumption after running our services for a while:
image

After applying the changes made in this PR:
image

mergify Bot and others added 3 commits September 28, 2025 17:52
…te#3693) (nhibernate#3709)

Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
Co-authored-by: Christoph Watzl <christoph.watzl@risc-software.at>
Co-authored-by: Alex Zaytsev <hazzik@gmail.com>
Copy link
Copy Markdown
Member

@fredericDelaporte fredericDelaporte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this is not a regression fix, it should target master.

Comment thread src/NHibernate/SqlCommand/SqlString.cs
Comment thread src/NHibernate/SqlCommand/SqlString.cs
@tschu-schleupen tschu-schleupen changed the base branch from 5.5.x to master April 20, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants