Skip to content
Discussion options

You must be logged in to vote

There's a built-in cap for exactly this:

wiredoctor.max-graph-nodes=2000   # default

Above this many beans, the serialized graph (JSON + HTML view) is capped to top-N by fan-in — with cycle members always kept — so the browser doesn't freeze. 0 = unlimited if you have the RAM and patience.

Two important details:

  • Analysis always runs on the full graph. Cycles, smells, critical path, and baseline diff are computed over every bean — the cap only affects what's rendered/serialized, so your CI gates lose nothing.
  • To shrink the interesting set instead of just capping, use wiredoctor.scan-packages=com.yourcompany.app,... — framework packages (org.springframework, java., org.apache, …) are alrea…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ddsha441981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant