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
[FB3] Memory Leaks. FB does not release memory after load tests. [CORE5416] #5689
Comments
Modified by: @ibproviderAttachment: fb_image.png [ 13042 ] Attachment: fb_performance.png [ 13043 ] |
Modified by: @ibproviderAttachment: firebird.exe.ProcessExplorerData__DLLs.txt [ 13045 ] Attachment: firebird.exe.ProcessExplorerData__Resources.txt [ 13046 ] |
Commented by: @hvlad Did you set database linger to some non-zero value at test database ? |
Commented by: @ibprovider >Did you set database linger to some non-zero value at test database ? No.... Database was created with default settings. See attached archive with test database. |
Commented by: @ibprovider Empty test database for FB3, third dialect. |
Modified by: @ibproviderAttachment: IBP_TEST_FB30_D3.7z [ 13048 ] |
Modified by: @hvladassignee: Vlad Khorsun [ hvlad ] |
Modified by: @cincuranet |
Modified by: @hvladVersion: 3.0.1 [ 10730 ] Version: 3.0.0 [ 10740 ] Version: 4.0 Initial [ 10621 ] Fix Version: 4.0 Alpha 1 [ 10731 ] Fix Version: 3.0.3 [ 10810 ] |
Submitted by: @ibprovider
Block progress on DNET743
Attachments:
fb_image.png
fb_performance.png
firebird.exe.ProcessExplorerData__DLLs.txt
firebird.exe.ProcessExplorerData__Resources.txt
IBP_TEST_FB30_D3.7z
Firebird does not release memory after completion of load tests.
Size of each memory leaks ~ equal to size of page cache
One interest moment:
1. When I execute (sequential) two "load tests set" without pause - FB not releases memory after second set.
@call run_test_w64_local2_d3.bat
@call run_test_w32_local2_d3.bat
Memory leak (approximately) == 3.5 GB
2. When I added a pause (10 min) between runs - I see 2xLeaks.
@call run_test_w64_local2_d3.bat
sleep 10m
@call run_test_w32_local2_d3.bat
Memory leak (approximately) == 7GB
---------------
Database Page: 16KB
Changes in firebird.conf:
DefaultDbCachePages = 200000
UserManager = Srp, Legacy_UserManager
MaxUnflushedWrites = -1
MaxUnflushedWriteTime = -1
WireCrypt = Enabled
----------------
Additional information for attached screenshots - because I executed parallel tests for two databases, memory leaks was multiplied by two and equal (at current moment) to 21GB.
Commits: 889f749 de191b7
The text was updated successfully, but these errors were encountered: