[Insight-developers] MemoryProbe doesn't work at all?

Williams, Norman K norman-k-williams at uiowa.edu
Thu Jul 21 12:17:31 EDT 2011


I pushed up a patch that returns success even if the memory probe doesn't
work, for the reasons I mentioned.

http://review.source.kitware.com/#change,2162


If people think the test should be removed, then the MemoryProbe classes
should also be removed.
--
Kent Williams norman-k-williams at uiowa.edu






On 7/21/11 11:00 AM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:

>+1
>
>On Thu, Jul 21, 2011 at 11:29 AM, Bradley Lowekamp
><blowekamp at mail.nih.gov> wrote:
>
>Kent,
>
>What ever it takes to get these failing tests off the dashboard in the
>amount of time available, I am in favor of.
>
>Brad
>
>
>On Jun 21, 2011, at 11:39 AM, Williams, Norman K wrote:
>
>
>
>
>There's this bug report: http://www.itk.org/Bug/view.php?id=10252
>And here's the patch I wrote to address it:
>http://review.source.kitware.com/#change,1958
>
>And the problem is that memory usage probes boil down to calling
>getrusage. Even after allocating a megabyte array (and touching every
>byte to force actual allocation) getrusage reports zero for resident
>memory usage.
>
>I've only tested this on Mac OS X so far, but I suspect that it will fail
>everywhere except maybe Windows.  So the question is if this never
>worked, and never had any coverage or testing, why is the memoryprobe
>stuff even in ITK?
>
>
>
>________________________________________
>Notice: This UI Health Care e-mail (including attachments) is covered by
>the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
>confidential and may be legally privileged.  If you are not the intended
>recipient, you are hereby notified that any retention, dissemination,
>distribution, or copying of this communication is strictly prohibited.
>Please reply to the sender that you have received the message in error,
>then delete it.  Thank you.________________________________________
>
>
>_______________________________________________
>Powered by www.kitware.com <http://www.kitware.com>
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Kitware offers ITK Training Courses, for more information visit:
>http://kitware.com/products/protraining.html
>
>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-developers
>
>
>
>
>
>
>
>
>_______________________________________________
>Powered by www.kitware.com <http://www.kitware.com>
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Kitware offers ITK Training Courses, for more information visit:
>http://kitware.com/products/protraining.html
>
>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-developers
>
>
>
>
>
>



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-developers mailing list