[OSM-talk] T at H error

Frederik Ramm frederik at remote.org
Sat Sep 22 10:24:21 BST 2007


Hi,

> runtime error: file osmarender/osmarender.xsl line 767 element param
>  | xsltApplyXSLTTemplate: A potential infinite template recursion was 
> detected.
>  | You can adjust xsltMaxDepth (--maxdepth) in order to raise the 
> maximum number of nested template calls and variables/params (currently 
> set to 3000).

This is a true complexity problem. You *can* get around it by chaning
t at h to use xsltproc which (in contrast to xmlstarlet) does support the
--maxdepth option and then retry, but you won't be able to stretch the
envelope far before you run into memory problems.

> After many lines of output and several hours processing, the client 
> eventually exits with the following error:

You may have memory problems already - "several hours" sounds like the
machine may be swapping.

> This is with the current version. Can anyone offer any information
> on this?

It is generally believed that we need to change t at h to split its work
into smaller chunks somehow so that they become manageable again. It's
just that nobody has gotten around to do it yet ;-) This error seems
so occurr on very complex tiles (likely one of the newly imported AND
or TIGER areas which are very detailed).

Bye
Frederik

PS: There IS a t at h mailing list.

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'





More information about the talk mailing list