From: <Rog...@su...> - 2014-04-30 12:31:40
|
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: clu...@li... [mailto:clu...@li...] Sent: mercredi 30 avril 2014 14:18 To: clu...@li... Subject: CLucene-developers Digest, Vol 85, Issue 4 Send CLucene-developers mailing list submissions to clu...@li... 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 clu...@li... You can reach the person managing the list at clu...@li... 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 <ko...@to...> Subject: Re: [CLucene-dev] Memory leak in IndexWriter::applyDeletes To: "clu...@li..." <clu...@li...> Message-ID: <0BE...@TV...kd.local> Content-Type: text/plain; charset="utf-8" Are you sure you have last code. This is already fixed in master branch From: Rog...@su... [mailto:Rog...@su...] Sent: Tuesday, April 29, 2014 6:02 PM To: clu...@li... 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 CLu...@li... https://lists.sourceforge.net/lists/listinfo/clucene-developers End of CLucene-developers Digest, Vol 85, Issue 4 ************************************************* |
From: Ahmed S. <ci7...@gm...> - 2014-04-30 13:45:16
|
<html style="direction: ltr;"> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> </head> <body style="direction: ltr;" bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Hi<br> <br> You can get the recent code change from git repo at:<br> <a class="moz-txt-link-freetext" href="http://sourceforge.net/p/clucene/code">http://sourceforge.net/p/clucene/code</a><br> <br> Ahmed<br> <br> Le 30/04/2014 13:31, <a class="moz-txt-link-abbreviated" href="mailto:Rog...@su...">Rog...@su...</a> a écrit :<br> </div> <blockquote cite="mid:F8F...@em...rp" type="cite"> <pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:clu...@li...">clu...@li...</a> [<a class="moz-txt-link-freetext" href="mailto:clu...@li...">mailto:clu...@li...</a>] Sent: mercredi 30 avril 2014 14:18 To: <a class="moz-txt-link-abbreviated" href="mailto:clu...@li...">clu...@li...</a> Subject: CLucene-developers Digest, Vol 85, Issue 4 Send CLucene-developers mailing list submissions to <a class="moz-txt-link-abbreviated" href="mailto:clu...@li...">clu...@li...</a> To subscribe or unsubscribe via the World Wide Web, visit <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/clucene-developers">https://lists.sourceforge.net/lists/listinfo/clucene-developers</a> or, via email, send a message with subject or body 'help' to <a class="moz-txt-link-abbreviated" href="mailto:clu...@li...">clu...@li...</a> You can reach the person managing the list at <a class="moz-txt-link-abbreviated" href="mailto:clu...@li...">clu...@li...</a> 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 <a class="moz-txt-link-rfc2396E" href="mailto:ko...@to..."><ko...@to...></a> Subject: Re: [CLucene-dev] Memory leak in IndexWriter::applyDeletes To: <a class="moz-txt-link-rfc2396E" href="mailto:clu...@li...">"clu...@li..."</a> <a class="moz-txt-link-rfc2396E" href="mailto:clu...@li..."><clu...@li...></a> Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:0BE...@TV...kd.local"><0BE...@TV...kd.local></a> Content-Type: text/plain; charset="utf-8" Are you sure you have last code. This is already fixed in master branch From: <a class="moz-txt-link-abbreviated" href="mailto:Rog...@su...">Rog...@su...</a> [<a class="moz-txt-link-freetext" href="mailto:Rog...@su...">mailto:Rog...@su...</a>] Sent: Tuesday, April 29, 2014 6:02 PM To: <a class="moz-txt-link-abbreviated" href="mailto:clu...@li...">clu...@li...</a> 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 * <a class="moz-txt-link-abbreviated" href="http://www.sungard.com/marketmap">www.sungard.com/marketmap</a><a class="moz-txt-link-rfc2396E" href="http://www.sungard.com/marketmap"><http://www.sungard.com/marketmap></a> [Description: Description: Description: Description: coc-signature-03-2012]<a class="moz-txt-link-rfc2396E" href="http://www.capitalize-on-change.com/?email=70150000000Y1Et"><http://www.capitalize-on-change.com/?email=70150000000Y1Et></a> Join the online conversation with SunGard?s customers, partners and industry experts and find an event near you at: <a class="moz-txt-link-abbreviated" href="http://www.sungard.com/ten">www.sungard.com/ten</a><a class="moz-txt-link-rfc2396E" href="http://www.capitalize-on-change.com/?email=70150000000Y1Et"><http://www.capitalize-on-change.com/?email=70150000000Y1Et></a>. 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.<a class="moz-txt-link-rfc2396E" href="http://p.sf.net/sfu/SauceLabs------------------------------_________________________________...@li...https://lists.sourceforge.net/lists/listinfo/clucene-developersEndofCLucene-developersDigest,Vol85,Issue4*************************************************------------------------------------------------------------------------------">" http://p.sf.net/sfu/SauceLabs ------------------------------ _______________________________________________ CLucene-developers mailing list CLu...@li... https://lists.sourceforge.net/lists/listinfo/clucene-developers End of CLucene-developers Digest, Vol 85, Issue 4 ************************************************* ------------------------------------------------------------------------------ "</a>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." <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/SauceLabs">http://p.sf.net/sfu/SauceLabs</a> _______________________________________________ CLucene-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:CLu...@li...">CLu...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/clucene-developers">https://lists.sourceforge.net/lists/listinfo/clucene-developers</a> </pre> </blockquote> <br> </body> </html> |