Skip to content
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

The memory usage is a little high #91

Open
xl95988 opened this issue Apr 21, 2023 · 2 comments
Open

The memory usage is a little high #91

xl95988 opened this issue Apr 21, 2023 · 2 comments

Comments

@xl95988
Copy link

xl95988 commented Apr 21, 2023

G88L(5E{JY5YI}$}1NLWUM6
03EXKNH1U( LZL~`})EOXWL

@qicosmos
Copy link
Owner

死循环创建连接,会导致创建非常多的连接,因为内部发现如果连接池没有连接了,就会创建新的连接
https://github.com/qicosmos/ormpp/blob/master/include/connection_pool.hpp#L47

@xl95988
Copy link
Author

xl95988 commented Apr 22, 2023

I don't agree with you. I set four connections when initializing the connection pool, so 'https://github.com/qicosmos/ormpp/blob/master/include/connection_pool.hpp#L47' is never execute.

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

No branches or pull requests

2 participants