DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:memory_footprint_reduction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

devel:memory_footprint_reduction [2008-04-19 12:56] (current)
ChrisS created
Line 1: Line 1:
 +====== Memory Footprint Reduction ======
  
 +These are some notes I made on reducing DokuWiki's memory footprint while investigating issues described in the mailing list, "[[http://www.freelists.org/archives/dokuwiki/03-2008/msg00087.html|memory size error]] and on the forum, [[http://forum.dokuwiki.org/thread/1740|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
 +
 +
 + --- //[[chris@jalakai.co.uk|Christopher Smith]] 2008/04/19 12:24//
devel/memory_footprint_reduction.txt ยท Last modified: 2008-04-19 12:56 by ChrisS