Skip to content

Commit 2487d7d

Browse files
committed
Fix
1 parent f6bbe2d commit 2487d7d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ ENTRYPOINT [ "solvers" ]
6161
# Extract Binary
6262
FROM intermediate
6363

64-
# Configure jemalloc profiling (only affects services built with jemalloc-profiling feature)
65-
# prof:true - Enable profiling
66-
# prof_active:true - Start profiling immediately
67-
# lg_prof_sample:19 - Sample every 2^19 bytes (~524KB)
68-
ENV MALLOC_CONF="prof:true,prof_active:true,lg_prof_sample:19"
69-
7064
RUN apt-get update && \
7165
apt-get install -y build-essential cmake git zlib1g-dev libelf-dev libdw-dev libboost-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libunwind-dev libzstd-dev git netcat-openbsd
7266
RUN git clone https://invent.kde.org/sdk/heaptrack.git /heaptrack && \

crates/observe/src/heap_dump_handler.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ async fn generate_and_stream_dump(socket: &mut UnixStream) {
9797
return;
9898
}
9999
Err(_) => {
100-
tracing::error!("jemalloc profiling not available - service not built with jemalloc-profiling feature or allocator not configured");
100+
tracing::error!(
101+
"jemalloc profiling not available - service not built with jemalloc-profiling \
102+
feature or allocator not configured"
103+
);
101104
return;
102105
}
103106
};

0 commit comments

Comments
 (0)