[MCOL-2136] Use jemalloc as the main memory allocator Created: 2019-02-04  Updated: 2020-08-25  Resolved: 2019-02-15

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: 1.0.15, 1.1.6
Fix Version/s: 1.0.16, 1.1.7

Type: Bug Priority: Critical
Reporter: Roman Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Relates
relates to MCOL-1636 Query hangs after being warmed up Closed
relates to MCOL-2176 Use jemalloc as the main memory alloc... Closed
Sprint: 2019-01, 2019-02

 Description   

The research showed that CS behaves inefficient using default(LeDough) memory allocator. MA either doesn't release the mmap-ed memory allocations or reuse them. This produces "leak". The only workaround for this is to restart CS.
jemalloc is the solution of choice b/c CS displays a way more behavior when used with jemalloc: it releases mmap-ed memory or tries to reuse it thus decreases resident memory usage.



 Comments   
Comment by Roman [ 2019-02-12 ]

Please review.

Comment by Daniel Lee (Inactive) [ 2019-02-12 ]

Build verified: 1.0.16-1, 1.1.7-1

1.1.7-1

server commit:
b5a7a22
engine commit:
1c23dc9

Still waiting for 1.2.3-1

Comment by Daniel Lee (Inactive) [ 2019-02-15 ]

Build verified: 1.1.7-1 RC

server commit:
3e8a9df
engine commit:
827d6b5

1.1.7-1 RC is now available for testing so I retested it.
1.2.3-1 is not yet available for test so I created a new task MCOL-2176 to test it later. Closing this ticket now.

Generated at Thu Feb 08 02:34:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.