1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

fix(shmem leak) MCOL-6064: excessive memory use

This three-liner releases shared memory object, which is N*16M in size, and its' leakage quickly grows memory use.
This commit is contained in:
Serguey Zefirov
2025-09-23 17:03:46 +03:00
committed by Leonid Fedorov
parent 5f2e78151b
commit eebd83329e

View File

@@ -422,6 +422,10 @@ BRMManagedShmImplRBTree::BRMManagedShmImplRBTree(unsigned key, off_t size, bool
BRMManagedShmImplRBTree::~BRMManagedShmImplRBTree()
{
if (fShmSegment)
{
delete fShmSegment;
}
}
void BRMManagedShmImplRBTree::setReadOnly()