[mapserver-dev] symbol lazy-loading

thomas bonfort thomas.bonfort at gmail.com
Sat Nov 21 08:55:10 EST 2009


Pavel,

On Wed, Nov 18, 2009 at 13:24, Pavel Iacovlev <iacovlev.pavel at gmail.com>wrote:

> Good day all,
>
> As I understood on render request mapserver loads all symbols into
> memory thats is fine if you have under 64 symbols (default limit).


 recent versions of mapserver aren't limited to 64 symbols anymore.

I
> have a topographical map to render that maybe will have around 200+
> symbols and like 5-10 will be used per request. Maybe implementing
> lazy-loading (only then needed) for symbols will improve the
> performance ? and remove the cap at all.


lazy loading of symbols would definitely make sense for image symbols,
although only for people with a single symbolset for multiple instances, as
otherwise the case is rarer to have defined  a symbol but never use it.

the other symbol types wouldn't see much benefit from lazy loading imho, as
this is only a parser operation that has to be done anyways.


> Another question is if I have
> 100 image symbols all 100 images are loaded into memory on render
> request ?
>

yes, all the image files are loaded.

regards,

thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20091121/f65fffe4/attachment.html


More information about the mapserver-dev mailing list