pub fn format_memory(memory_mb: f64) -> String
Format memory in MB to a human-readable string with adaptive units.
Examples: “512KB”, “6.0MB”, “3.0GB”