DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:memory_footprint_reduction

Memory Footprint Reduction

These are some notes I made on reducing DokuWiki's memory footprint while investigating issues described in the mailing list, “memory size error and on the forum, Large pages not parsed

I'm making them here to keep a record. At this time none of these are being worked on, so feel free to take a look come up with an improvement

  • Don't load replacement utf-8 functions if not required.
  • Investigate why loading of cached instructions boosts memory usage so much. In a ”?purge=1“ scenario, the instructions have already been created and freed, yet loading them from cache for xhtml parsing increases memory usage far above the figure during their previous use (metadata parsing).
  • Investigate streaming instructions rather than holding the whole lot in memory

Christopher Smith 2008/04/19 12:24

devel/memory_footprint_reduction.txt · Last modified: 2008-04-19 12:56 by ChrisS

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki