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
It seems that there is a small memory leak in client application when multiple using isc_attach_database/isc_detach_database [CORE845] #1234
Comments
Modified by: Vitaly (v6y)Version: 2.0 RC3 [ 10040 ] Version: 2.0 RC2 [ 10032 ] Version: 2.0 RC1 [ 10031 ] Version: 1.5.3 [ 10028 ] Version: 2.0 Beta 1 [ 10029 ] Version: 2.0 Beta 2 [ 10030 ] |
Modified by: @pcisarassignee: Dmitry Yemanov [ dimitr ] => |
Commented by: @dyemanov Do you use local or remote connection string? |
Commented by: Vitaly (v6y) > Do you use local or remote connection string? Does not matter - it happens in both cases. isc_db_handle db = NULL; int TERM=0; void sigterm(int signal) { #define ERREXIT(status, rc) {isc_print_status(status); return rc;} int main (void) long long i=0; while(!TERM) { Because of no dpb here, I used environment variables ISC_USER and ISC_PASSWORD to setup firebird login/password. So, just after starting of my test, the 'top' programm showed following: After about 3500 ataches/detaches: After about 10000 ataches/detaches: fter about 12800 ataches/detaches: And so on. |
Commented by: @dyemanov On Win32, running v2.0.0 I see no memory leak at all. Tried 6000 iterations, both IPC and TCP connections. |
Commented by: @dyemanov Alex, could you please try this test case? Maybe it's posix-specific. |
Modified by: @dyemanovassignee: Alexander Peshkov [ alexpeshkoff ] |
Commented by: @AlexPeshkoff Failed to reproduce mentioned memory leak for both 1.5.4 and 2.0.1 RC2. |
Modified by: @AlexPeshkoffstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Cannot Reproduce [ 5 ] Fix Version: 2.0.1 [ 10090 ] Fix Version: 1.5.4 [ 10100 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pcisarWorkflow: jira [ 11056 ] => Firebird [ 14239 ] |
Submitted by: Vitaly (v6y)
The text was updated successfully, but these errors were encountered: