alpha
Login
or
Join now
boltless.me
/
zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
fork of https://github.com/sourcegraph/zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
zoekt
/
cmd
/
zoekt-git-index
/
at
650136078a98ef99acf4159310a2c12fd25075d7
1 file
Julie Tibshirani
Debug: write memory profile if heap exceeds threshold (#819)
2y ago
aae71e59
main.go
Debug: write memory profile if heap exceeds threshold (#819) This PR adds adds a debugging flag to periodically check memory usage against a threshold. If it exceeds the threshold, then a memory profile like `indexmemory.prof.1` is written to disk. No more than 10 profiles will be written. I've already found this more useful than the existing `-memprofile` flag, so I removed that. It's hard to get insights using that flag, since it only takes a single profile per shard, forces GC, and forces parallelism to 1.
2 years ago