[Mono-dev] Need Help on Commons.Xml.Relaxng.dll

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Sat Oct 23 02:56:46 EDT 2010


Hello,

That's an interesting page. I didn't know that and am pretty glad to see 
it :)

Hmm, but that sounds weird. I tried some of the samples on that page 
with mono --profile (simpler one), but cannot see such huge memory 
consumption. Can you show me the --profile result (or any profiling stuff) ?

Commons.Xml.Relaxng is based on James Clark's derivative algorithm[*1] 
and I have implemented all the optimization trick such as avoiding 
exponential blowup and memoization. There could be of course bugs that 
prevents them though.

[*1] http://www.thaiopensource.com/relaxng/derivative.html

Atsushi Eno

On 2010/10/22 15:38, Panop Suvaphrom wrote:
>
> Hi,
>
>           I am not sure if this is the right place to ask.
>
>          Now I have project to develop and validate RNC file that I 
> have read from 
> http://www.xs4all.nl/~wrb/Articles/Article_XML_RelaxNG_01.htm 
> <http://www.xs4all.nl/%7Ewrb/Articles/Article_XML_RelaxNG_01.htm>.
>
>          My problem is the memory consumption continues increasing 
> more and more, and then the machine is quite slow.
>
>          I try to search on the web but no discussion on this issue. 
> Has anyone known about this and any suggestion would be appreciate.
>
>          And also when I turn the validation off from code, memory 
> consumption is in normal.
>
> Big ThanksJ,
>
> Panop S.
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list