Skip to content

Instantly share code, notes, and snippets.

@mandarjog
Created March 23, 2026 05:15
Show Gist options
  • Select an option

  • Save mandarjog/8159c498b2c64afcfab150a629e6e90e to your computer and use it in GitHub Desktop.

Select an option

Save mandarjog/8159c498b2c64afcfab150a629e6e90e to your computer and use it in GitHub Desktop.
Envoy13.4-heap-profile
I have full stack trace using llm-symbolizer.
```
ENVOY HEAP PROFILE — 34.7 GB total across 596 samples
===============================================================================================
STACK #1: 19.86 GB (57.2%) — 1301479 objects
-----------------------------------------------------------------------------------------------
  [ 1] xds::data::orca::v3::OrcaLoadReport::Impl_::~Impl_()
       bazel-out/k8-opt/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf_lite/google/protobuf/map.h:1302:13
  [ 2] pair<google::protobuf::Map<string, double>::iterator, bool> google::protobuf::Map<string, double>::TryEmplaceIntern...
       bazel-out/k8-opt/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf_lite/google/protobuf/map.h:332:16
  [ 3] Envoy::Network::RawBufferSocket::doRead(Envoy::Buffer::Instance&)
       libcxx/__memory/unique_ptr.h:265:9
  [ 4] Envoy::Http::Http2::ConnectionImpl::Http2Visitor::OnBeginDataForStream(int, unsigned long)
       libcxx/string:1861:29
  [ 5] http2::adapter::OgHttp2Session::SubmitTrailer(int, Span<pair<variant<string_view, string>, variant<string_view, str...
       external/com_github_google_quiche/quiche/http2/adapter/oghttp2_session.cc:1064:1
  [ 6] http2::adapter::WindowManager::WindowManager(long, AnyInvocable<void (long) const>, bool (*)(long, long, long), boo...
       external/com_github_google_quiche/quiche/http2/adapter/window_manager.cc:37:0
  [ 7] http2::Http2DecoderAdapter::DetermineSpdyState(http2::DecodeStatus)
       libcxx/string:0:33
  [ 8] http2::Http2DecoderAdapter::OnGoAwayStart(http2::Http2FrameHeader const&, http2::Http2GoAwayFields const&)
       external/com_github_google_quiche/quiche/http2/core/http2_frame_decoder_adapter.cc:630:1
  [ 9] http2::adapter::HeaderValidator::ValidateSingleHeader(string_view, string_view)
       external/com_github_google_quiche/quiche/http2/adapter/header_validator.cc:176:7
  [10] http2::adapter::HeaderValidator::ValidateSingleHeader(string_view, string_view)
       external/com_github_google_quiche/quiche/http2/adapter/header_validator.cc:0:15
  [11] container_internal::raw_hash_set<container_internal::FlatHashMapPolicy<int, http2::adapter::OgHttp2Session::StreamS...
       external/com_google_absl/absl/container/internal/hashtable_control_bytes.h:285:31
  [12] http2::adapter::OgHttp2Session::~OgHttp2Session()
       external/com_google_absl/absl/functional/internal/any_invocable.h:488:17
  [13] Envoy::Http::Http2::ConnectionImpl::sendKeepalive()
       ./source/common/common/logger.h:389:39
  [14] Envoy::Http::Http2::ConnectionImpl::dispatch(Envoy::Buffer::Instance&)
       ./source/common/common/logger.h:389:5
  [15] Envoy::Http::CodecClient::connect()
       ./source/common/common/logger.h:389:5
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment