3 个仓库
Techniques and tools for improving memory efficiency and reducing footprint in iOS applications.
Distinct from iOS App Compilation: Candidates focus on installation, distribution, and compilation, not performance tuning or memory efficiency.
Explore 3 awesome GitHub repositories matching mobile development · iOS Memory Optimization. Refine with filters or upvote what's useful.
MLeaksFinder is a diagnostic framework and profiling utility designed for the automatic detection of memory leaks and unfreed objects in iOS applications. It functions as a memory leak detector and profiling tool that identifies retain cycles and analyzes object lifecycles for both Swift and Objective-C code. The tool identifies circular dependencies by tracing reference chains and traversing object graphs, starting from a root view controller. It provides precise debugging data by capturing the allocation stacks of leaked objects to trace the origin of the memory leak. The framework include
Improves the memory efficiency of iOS applications by identifying and removing unfreed interface objects.
HanekeSwift 是一个 iOS 通用缓存库与专门的图像缓存框架。它提供了一个多级系统,将任意数据类型存储在内存与持久化磁盘存储中,以减少网络请求。 该项目具备一个专门的图像处理器,用于管理 UI 组件的异步加载、调整大小与磁盘存储。它包含一个后台检索系统,用于获取远程内容并自动填充本地缓存。 该库涵盖了带有顺序回退的键值数据存储,即它会依次检查内存、磁盘,最后是远程源。它通过内存驱逐策略实现了自动化容量管理,并处理主线程之外的数据解压与转换。
Automatically evicts unused cached data during system memory warnings to improve memory efficiency on iOS.
FBRetainCycleDetector 是一款用于 iOS 应用的运行时内存分析工具和分析器。它识别 Objective-C 对象图中的循环引用和保留环(retain cycles),以防止内存泄漏。 该工具分析实时内存堆并检查运行时元数据以发现对象关系。它识别闭环引用链,包括涉及关联对象和计时器的引用链,并使用自定义逻辑从报告中过滤掉已知的安全循环。 该项目涵盖了内存管理功能,包括按类名进行的分配跟踪、运行时对象图分析以及遍历堆以映射对象之间的连接性。
Monitors object allocations and relationships while an app is running to ensure efficient memory management.