MemScope Memory Analysis Dashboard

Real-time Rust Memory Usage Monitoring
-
Total Allocations
-
Active Variables
-
Total Memory
-
Safety Score

Performance Metrics

0B
Peak Memory
0/sec
Allocation Rate
0ms
Avg Lifetime
0%
Fragmentation

Thread Safety Analysis

0
Arc
0
Rc
0
Collections

Memory by Type

Memory Over Time

Left Y: Cumulative memory, Right Y: Growth rate

Unsafe/FFI Cross-Boundary Analysis

Track memory lifecycle across Rust safety and C/FFI boundaries

🦀 Rust Safety Domain
C/FFI Domain
Rust Allocation
FFI C Allocation
FFI to Rust
Rust to FFI
Deallocation

Type Treemap

Variable Lifecycle Visualization

Heap: - Stack: -
Waiting for data...

Memory Fragmentation

Borrow Activity Heatmap

Allocation Timeline

Loading timeline...

Timeline Insights

Time Span: -
Allocation Burst: -
Peak Concurrency: -
Thread Activity:
Main Thread Active
ID: main | Status: Running

Memory Operations

-
Borrow Ops
-
Clone Ops
-
Mut/Immut
-
Avg/Alloc

Type Memory Blocks

Enhanced Memory Statistics

-
Total Allocs
-
Heap/Stack
-
Avg Lifetime
-
Efficiency

Variable Relationships

Memory Hotspots

Top Memory Consumers

Vec<u8> allocations 2.4 MB
String buffers 1.8 MB
HashMap entries 1.2 MB

Frequent Allocators

main.rs:42 1,247 allocs
buffer.rs:128 892 allocs

Growth Rate

+12.3%
Memory usage increase over last period

Thread & Concurrency

Thread Activity

Main Thread Active
CPU: Normal
Memory: Active
ID: 1

Memory Contention

LOW
Single-threaded execution
Locks: 0 Conflicts: 0

Memory Allocation Details

Variable Type Size Status

Safety Risk Items

Memory Safety Risks

Use After Free 0
Double Free 0
Buffer Overflow 0

Concurrency Risks

Data Race 0
Deadlock Risk 0

FFI Safety Risks

Unsafe FFI Calls 0
Null Pointer Deref 0

Safety Score

100%
No safety violations detected

Unsafe Rust & FFI Memory Analysis

FFI Memory Tracking

C Library Allocations 0 bytes
FFI Function Calls 0
Memory Leaks 0
SAFE
No FFI issues detected

Unsafe Operations

Raw Pointer Dereferences 0
Unsafe Transmutes 0
Unsafe Block Count 0
SAFE
No unsafe operations detected

Unsafe/FFI Cross-Boundary Analysis

Track memory lifecycle across Rust safety and C/FFI boundaries

🦀 Rust Safety Domain
C/FFI Domain
Rust Allocation
FFI C Allocation
FFI to Rust
Rust to FFI
Deallocation