Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Memory management considerations

Memory allocation is often a significant bottleneck in application code. Reducing the number of allocations that are made can significantly improve an application's performance. The topics in this section describe strategies for reducing the performance impact of memory allocations, including the following:

  • Increasing the size when reallocating memory
  • Using a suballocator
  • Zero-filling memory only when truly necessary
  • Caching
  • Reducing fragmentation