Comments (2)
Please consult the Valgrind docs on what "still reachable" means:
"still reachable" means your program is probably ok -- it didn't free some memory it could have. This is quite common and often reasonable. Don't use
--show-reachable=yes
if you don't want to see these reports.
We allocate some things in global memory for various reasons, and it is a waste of our time to free these things when we could allow the OS to do so, as it can dispose of the global process state much faster than we or the allocator can. Unless you would rather we incur the overhead of allocating and deallocating that memory every time you issue a print?
Also see:
Closing.
from rust.
In particular, duplicate of
from rust.
Related Issues (20)
- Uncredible virtual memory usage when compile, maybe memory leak HOT 1
- PhantomData confusing documentation
- Performance regression between v1.76.0 and v1.77.2 HOT 10
- Nightly rustc panic when compiling a simple no_std program HOT 4
- Wrong import hint HOT 1
- add a custom diagnostic for type mismatches of constants
- Compilation bug while using Diesel framework HOT 6
- ICE: `could not resolve upvar: LocalVarId(HirId(DefId)))`
- Compiler creates unnecessary pointer to the value on ownership transfering. HOT 7
- ICE: coherence: `assertion failed: obligations.is_empty()` / `unexpected infer in QueryInput ` HOT 2
- unused_associated_type_bounds are usable and useful
- ICE: cannot convert `'{erased}` to a region vid HOT 2
- Bootstrap build fails: found crate `serde_derive` compiled by an incompatible version of rustc HOT 15
- long literal expressions should be truncated HOT 21
- Clean out old msys2/mingw stuff in CI HOT 12
- We should document what external dependencies we assume for our test suites HOT 1
- Tracking issue for `-Zterminal-urls` HOT 2
- We should document more clearly env vars used between bootstrap <-> compiletest <-> test suites HOT 1
- Decide which methods to add to new `Range` types HOT 2
- error: --remap-path-prefix must contain '=' between FROM and TO because path contains spaces HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.