blazespinnaker
04-08-2007, 01:46 PM
<canvas width="600" height="250">
<include href="lz/tree.lzx"/>
<dataset name="ancestors" id="ancestorGlobal">
</dataset>
<view x="20" y="20" layout="axis: x; spacing: 10">
<!-- declared tree -->
<!-- data replicated tree -->
<view width="200" height="100">
<tree datapath="ancestors:/" showroot="true">
<tree datapath="*" text="$path{'@txtv'}"
isleaf="$path{'@leaf'}"/>
</tree>
</view>
</view>
</canvas>
Removing the <tree> ..</tree> seems to eliminate the memory leak.
<include href="lz/tree.lzx"/>
<dataset name="ancestors" id="ancestorGlobal">
</dataset>
<view x="20" y="20" layout="axis: x; spacing: 10">
<!-- declared tree -->
<!-- data replicated tree -->
<view width="200" height="100">
<tree datapath="ancestors:/" showroot="true">
<tree datapath="*" text="$path{'@txtv'}"
isleaf="$path{'@leaf'}"/>
</tree>
</view>
</view>
</canvas>
Removing the <tree> ..</tree> seems to eliminate the memory leak.