Hi

You can get the recent code change from git repo at:
http://sourceforge.net/p/clucene/code

Ahmed

Le 30/04/2014 13:31, roger.bossh...@sungard.com a écrit :
I've downloaded 2.3.3.4 from SourceForce recently (a zip). IndexWrite.cpp is dated 17.03.2011 00:21
Is there any better I have to look at ?
Thanks
Roger

-----Original Message-----
From: clucene-developers-requ...@lists.sourceforge.net [mailto:clucene-developers-requ...@lists.sourceforge.net] 
Sent: mercredi 30 avril 2014 14:18
To: clucene-developers@lists.sourceforge.net
Subject: CLucene-developers Digest, Vol 85, Issue 4

Send CLucene-developers mailing list submissions to
	clucene-developers@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clucene-developers
or, via email, send a message with subject or body 'help' to
	clucene-developers-requ...@lists.sourceforge.net

You can reach the person managing the list at
	clucene-developers-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than "Re: Contents of CLucene-developers digest..."


Today's Topics:

   1. Re: Memory leak in IndexWriter::applyDeletes (Kostka Bo?ivoj)


----------------------------------------------------------------------

Message: 1
Date: Wed, 30 Apr 2014 12:17:25 +0000
From: Kostka Bo?ivoj <kos...@tovek.cz>
Subject: Re: [CLucene-dev] Memory leak in IndexWriter::applyDeletes
To: "clucene-developers@lists.sourceforge.net"
	<clucene-developers@lists.sourceforge.net>
Message-ID:
	<0be85aba4ef4b14f8f193d9e93c873f2497af...@tvk-exch.tvkd.local>
Content-Type: text/plain; charset="utf-8"

Are you sure you have last code. This is already fixed in master branch

From: roger.bossh...@sungard.com [mailto:roger.bossh...@sungard.com]
Sent: Tuesday, April 29, 2014 6:02 PM
To: clucene-developers@lists.sourceforge.net
Subject: [CLucene-dev] Memory leak in IndexWriter::applyDeletes

Hello,

I think there is a leak in the file IndexWrite.cpp, function  IndexWriter::applyDeletes

  for (int32_t i = 0; i < infosEnd; i++) {
    IndexReader* reader = NULL;
    try {
      reader = SegmentReader::get(segmentInfos->info(i), false);

      // Apply delete terms to disk segments
      // except the one just flushed from ram.
      _internal->applyDeletes(bufferedDeleteTerms, reader);
    } _CLFINALLY (
      if (reader != NULL) {
        try {
          reader->doCommit();
        } _CLFINALLY (
          reader->doClose();
          _CLLDELETE(reader); // 17.04.2014, memory leak fix; reader was not deleted
        )
      }
    )
  }

  // Clean up bufferedDeleteTerms.
  docWriter->clearBufferedDeletes();
}

Regards
Roger Bosshard

Roger Bosshard ? Head of Development ? MarketMap Realtime ? SunGard ? Route Fran?ois-Peyrot 12 ? 1218 Le Grand Saconnex, Geneva, Switzerland Tel +41 22 715 44 52 * Fax +41 22 715 44 11 * www.sungard.com/marketmap<http://www.sungard.com/marketmap>

[Description: Description: Description: Description: coc-signature-03-2012]<http://www.capitalize-on-change.com/?email=70150000000Y1Et>
Join the online conversation with SunGard?s customers, partners and industry experts and find an event near you at: www.sungard.com/ten<http://www.capitalize-on-change.com/?email=70150000000Y1Et>.

CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited.  If you receive this e-mail in error, please notify the sender and delete this e-mail from your system.




-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 8696 bytes
Desc: image001.gif

------------------------------

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos.  Get unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

------------------------------

_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers


End of CLucene-developers Digest, Vol 85, Issue 4
*************************************************



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to