mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 09:01:49 +00:00 
			
		
		
		
	tweak
This commit is contained in:
		@@ -1401,7 +1401,7 @@ class MemoryAnalyzer:
 | 
			
		||||
        lines.append("")
 | 
			
		||||
        lines.append("Top RAM Consumers:")
 | 
			
		||||
        ram_components = sorted(components, key=lambda x: x[1].ram_total, reverse=True)
 | 
			
		||||
        for i, (name, mem) in enumerate(ram_components[:10]):
 | 
			
		||||
        for i, (name, mem) in enumerate(ram_components[:25]):
 | 
			
		||||
            if mem.ram_total > 0:
 | 
			
		||||
                percentage = (mem.ram_total / total_ram * 100) if total_ram > 0 else 0
 | 
			
		||||
                lines.append(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user