Skip to content

Commit e1f727c

Browse files
authored
GH-47588: [C++] Bump mimalloc version to 3.1.5 (#47589)
### Rationale for this change According to microsoft/mimalloc#1073 , mimalloc v3 is preferred over v2 for production usage. There are reports of higher than expected memory consumption with mimalloc 2.2.x, notably when reading Parquet data (example: GH-47266). ### What changes are included in this PR? Bump to mimalloc 3.1.5, which is the latest mimalloc 3.1.x release as of this writing. ### Are these changes tested? Yes, by existing tests and CI. ### Are there any user-facing changes? Hopefully not, besides a potential reduction in memory usage due to improvements in mimalloc v3. * GitHub Issue: #47588 Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
1 parent 8496d4e commit e1f727c

14 files changed

+57
-4
lines changed

ci/conda_env_cpp.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ meson
4141
ninja
4242
nodejs
4343
orc<2.1.0
44+
patch
4445
pkg-config
4546
python
4647
rapidjson

ci/docker/alpine-linux-3.22-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ RUN apk add \
4848
musl-locales \
4949
nlohmann-json \
5050
openssl-dev \
51+
patch \
5152
perl \
5253
pkgconfig \
5354
protobuf-dev \

ci/docker/debian-12-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ RUN apt-get update -y -q && \
8585
ninja-build \
8686
nlohmann-json3-dev \
8787
npm \
88+
patch \
8889
pkg-config \
8990
protobuf-compiler-grpc \
9091
python3-dev \

ci/docker/debian-13-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ RUN apt-get update -y -q && \
8787
nlohmann-json3-dev \
8888
npm \
8989
opentelemetry-cpp-dev \
90+
patch \
9091
pkg-config \
9192
protobuf-compiler-grpc \
9293
python3-dev \

ci/docker/debian-experimental-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ RUN if [ -n "${gcc}" ]; then \
7979
nlohmann-json3-dev \
8080
npm \
8181
opentelemetry-cpp-dev \
82+
patch \
8283
pkg-config \
8384
protobuf-compiler-grpc \
8485
python3-dev \

ci/docker/fedora-42-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ RUN dnf update -y && \
5353
make \
5454
ninja-build \
5555
openssl-devel \
56+
patch \
5657
protobuf-devel \
5758
python \
5859
python-devel \

ci/docker/ubuntu-22.04-cpp-minimal.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN apt-get update -y -q && \
3333
git \
3434
libssl-dev \
3535
libcurl4-openssl-dev \
36+
patch \
3637
python3-pip \
3738
python3-venv \
3839
tzdata \

ci/docker/ubuntu-22.04-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ RUN apt-get update -y -q && \
107107
ninja-build \
108108
nlohmann-json3-dev \
109109
npm \
110+
patch \
110111
pkg-config \
111112
protobuf-compiler \
112113
protobuf-compiler-grpc \

ci/docker/ubuntu-24.04-cpp-minimal.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN apt-get update -y -q && \
3333
git \
3434
libssl-dev \
3535
libcurl4-openssl-dev \
36+
patch \
3637
python3-pip \
3738
python3-venv \
3839
tzdata \

ci/docker/ubuntu-24.04-cpp.dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ RUN apt-get update -y -q && \
108108
ninja-build \
109109
nlohmann-json3-dev \
110110
npm \
111+
patch \
111112
pkg-config \
112113
protobuf-compiler \
113114
protobuf-compiler-grpc \

0 commit comments

Comments
 (0)