advertisement

Article:
  Knowing When to Let Go: Better Living Through Memory Management
Subject:   What about preallocated memory?
Date:   2003-06-11 16:10:11
From:   anonymous2
Many apps tend to exhaust the CPU with simple memory allocations.
Especially apps that allocate and free memory dynamically upon events (say,an incoming network packet).
Working with preallocated memory and reusing this memory without going through the system calls free and malloc often enhances the performance of these apps dramatically.
It's a bit more complex, but it's worth your while if you have this kind of app.

1 to 2 of 2
  1. What about preallocated memory?
    2003-06-11 16:59:28  anonymous2 [View]

    • Re: What about preallocated memory?
      2003-06-11 22:01:17  iapole [View]

  2. Re: What about preallocated memory?
    2003-06-11 16:26:16  iapole [View]

1 to 2 of 2