Skip to content

[fix](docs) update removed BE /memz page reference to /profile in Jemalloc memory analysis#3973

Open
spaces-X wants to merge 1 commit into
apache:masterfrom
spaces-X:fix-jemalloc-memz-to-profile
Open

[fix](docs) update removed BE /memz page reference to /profile in Jemalloc memory analysis#3973
spaces-X wants to merge 1 commit into
apache:masterfrom
spaces-X:fix-jemalloc-memz-to-profile

Conversation

@spaces-X

@spaces-X spaces-X commented Jul 8, 2026

Copy link
Copy Markdown

Purpose

The BE /memz web page was removed in #41310 ([opt](memory) Support Memory Profile), which has been in Doris since 3.0.4 (picked to branch-3.0 via #44945). The current BE code registers no /memz page — the raw Jemalloc profile (tcache_bytes, the extents table, Allocated/active/metadata/resident/retained, etc.) is now produced by jemalloc_stats_print(...) in the Jemalloc Profiles section under Memory Info on the Process Profile page /profile (be/src/service/http/default_path_handlers.cpp).

The Jemalloc memory analysis doc still tells users to open http://{be_host}:{be_web_server_port}/memz, which no longer exists (the page is gone; /mem_tracker prints an "offline, please use Process Profile" notice).

What changed

Redirect every /memz reference in the Jemalloc memory analysis doc to /profile, pointing at the Memory Info → Jemalloc Profiles section. All surrounding explanatory content is unchanged.

Files updated (3 occurrences each):

  • docs/.../memory-analysis/jemalloc-memory-analysis.md (English, dev)
  • versioned_docs/version-4.x/.../jemalloc-memory-analysis.md
  • versioned_docs/version-3.x/.../jemalloc-memory-analysis.md
  • i18n/zh-CN/.../current/.../jemalloc-memory-analysis.md
  • i18n/zh-CN/.../version-4.x/.../jemalloc-memory-analysis.md
  • i18n/zh-CN/.../version-3.x/.../jemalloc-memory-analysis.md

The version-2.1 docs are intentionally left unchanged: /memz still exists in 2.1.

Notes

The overview.md and global/query/load-memory-analysis.md docs in the same directory still reference the removed /mem_tracker?type=* pages. Those require a larger, version-aware rewrite against the new MemoryProfile hierarchy (which differs between 3.x and 4.x) and are intentionally out of scope for this PR.

…alloc memory analysis

The BE `/memz` web page was removed in #41310 (Support Memory Profile,
in Doris since 3.0.4). The raw Jemalloc profile is now shown in the
**Jemalloc Profiles** section under **Memory Info** on the Process
Profile page `/profile`.

Update all `/memz` references in the Jemalloc memory analysis doc
(English dev/4.x/3.x and Chinese current/4.x/3.x) to point to `/profile`.
The 2.1 docs still reference `/memz` correctly and are left unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant