There will be no “fix” for lack of memory. Fix your server configuration.
@otto42 – Your response fails to take into account how people are actually using WordPress. What percentage of folks using WP are doing so on their own server vs some sort of hosted environment? I don’t have that kind of control over “my” server; most people don’t.