forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add per-callstack allocation statistics * Count how many bytes we aren't tracking * Keep track how much memory is used by the allocation tracker * Simpler code * Activate allocation tracker with RERUN_TRACK_ALLOCATIONS * Show allocation purges in the memory panel graph * Purge image cache on global memory purge * Improve memory stats UI * Try to fix --run-forever * build fix * Implement all members of std::alloc::GlobalAlloc * Make format_usize reusable * Fix doctests and doclinks * Only enforce net limit * Refactor App::update * fix for the limit change * Revert change to objectron * remove a log line * objectron: sleep when running forever * Improve purge strategy * python format * Move the "improving compile times" section to CONTRIBUTING.md * Don't recommend RUST_LOG=debug – it fills terminal with wgpu spam * Document RERUN_MEMORY_LIMIT * Refactor: add CountAndSize * Simplify callstack tracking * Even simpler * Call it "purge" instead of "prune" * Use TrackingAllocator and MiMalloc in the Python SDK * Use gross for limiting if net is not available * don't glob-import * Add TODO + a fix * Turn on memory tracking in SDK if RERUN_TRACK_ALLOCATIONS is set * Put all environment variables in one file * Document the environment variables when running `rerun --help` * build fix * create helper add/sub functions * TLS-friendly mimalloc, confirmed working on linux * Rename "gross" to "resident" * Rename TrackingAllocator to AccountingAllocator * net -> counted * tracker_bookkeeping -> overhead * Small ui improvement * Add TODO about stochastic hashing * Add PtrHash helper * Fix wrong callstack * Do stochastic sampling of small allocations * Disable RSS on Linux * Fix doclinks * Work around annoying limitation on Windows Co-authored-by: Clement Rey <[email protected]>
- Loading branch information
Showing
39 changed files
with
1,270 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.