books
Free Books / Computers / Practical mod_perl /

previous page: 8.1.3. Good Memory Management
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 8.1.5. Memory-Sharing Capabilities

8.1.4. Avoiding Memory Leaks




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

Some OSes and/or their libraries (e.g., C runtime libraries) suffer from memory leaks. A leak is when some process requests a chunk of memory for temporary storage but then does not subsequently release it. The chunk of memory then won't be available for any purpose until the process that requested it dies. You cannot afford such leaks. A single mod_perl process sometimes serves thousands of requests before it terminates; if a leak occurs on every request, the memory demands could become huge. Of course, your code can be the cause of the memory leaks as well, but that's easy to detect and solve. Certainly, you can reduce the number of requests to be served over the process's life, but that can degrade performance. When you have so many performance concerns to think about, do you really want to be using faulty code that's not under your control?

 

Continue to:

  • prev: 8.1.3. Good Memory Management
  • Table of Contents
  • next: 8.1.5. Memory-Sharing Capabilities

Books by Stas Bekman:















TOP
previous page: 8.1.3. Good Memory Management
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 8.1.5. Memory-Sharing Capabilities

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com