Free or unmap unneeded memory

From Green software

Revision as of 14:51, 16 September 2010 by Green (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Consumption of unneeded memory consumes energy because the memory module consumes more energy. Unneeded memory can also increase energy consumption indirectly because it could force a system to use virtual memory when it is not really needed. Limiting the amount of memory needed is always best for energy efficiency.

Reduce memory leaks

When a program consumes memory but after usage does not release it back to the operating system, this is known as a memory leak. Memory leaks can cause nasty effects like causing an application to stall or crash or the entire system can come to a halt. Memory leaks should be avoided at any time.


This best practices is mentioned in:
Saxe, E. 2010. Power-efficient software. Commun. ACM, ACM, 53, p. 44-48.

Personal tools