Hi,

I don't know, if this macro is still used in the current version. I
think Ben or Itamar should know more about this. But you can also use
other tools to trace the memory leak. Depending on your plattform and
compiler, you can use, for instance, the Visual Studio facilities [1]
or valgrind [2].

Kind regards,

Veit

[1] http://msdn.microsoft.com/en-us/library/x98tx3cf.aspx
[2] http://valgrind.org/

2011/6/20 曾小伟 <zxw0...@163.com>:
> hi, all
> I find memleak in clucene, and I want to trace it,
> There is a macro  : LUCENE_ENABLE_MEMLEAKTRACKING
> but I don't know how to use it,
>
> these are what I had tried:
> 1)when configure ,   I enable debug,  but It seems not worked.
> 2)I use CFLAG="-DLUCENE_ENABLE_MEMLEAKTRACKING", but also got nothing,
> 3)I define LUCENE_ENABLE_MEMLEAKTRACKING in CLcofing.h,when runing, the
> program crashed.
>
> anyone who can help me to use it ,
>
> Zeng Xiaowei
>
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to