[Paraview-developers] change to vtkExodusIIReaderPrivate::ResetCache()

Robert Maynard robert.maynard at kitware.com
Mon Apr 25 10:01:31 EDT 2011


Hi,

The changes to the ExodusII reader was made to reduce memory overhead in
ParaView. If you set the cache to any positive non zero value does the issue
go away? Also would you be able to provide a sample data set that replicates
this issue, as all my ExodusII sample datasets have no issue with the cache
size set to zero.


On Fri, Apr 22, 2011 at 4:45 PM, Crossno, Patricia J <pjcross at sandia.gov>wrote:

>  From a pull from master some weeks ago, the previous version of this
> method looked like this:
>
> void vtkExodusIIReaderPrivate::ResetCache()
> {
>   this->Cache->Clear();
>   this->Cache->SetCacheCapacity( 0. ); // FIXME: Perhaps Cache should have
> a Reset and a Clear method?
>   this->Cache->SetCacheCapacity( 128. ); // FIXME: Perhaps Cache should
> have a Reset and a Clear method?
>   this->ClearConnectivityCaches();
> }
>
> I just did a pull and the method has been changed to this:
>
> void vtkExodusIIReaderPrivate::ResetCache()
> {
>   this->Cache->Clear();
>   this->Cache->SetCacheCapacity( 0. ); // FIXME: Perhaps Cache should have
> a Reset and a Clear method?
>   this->ClearConnectivityCaches();
> }
>
> When reading in an exodus file now, the code disappears into the reader and
> never finishes (maybe it would eventually, but after a long while I kill
> it).  Adding back in the line to set the cache capacity to 128 resolves this
> issue.  I expect that the line was removed for a reason.  Did removing the
> line resolve a problem for someone else?  Is anyone else having difficulty
> with the exodus reader as a result of this change?  Or is it something
> specific to my exodus file/runtime environment?
>
> Pat
>
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>


-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20110425/66ab5c08/attachment.htm>


More information about the Paraview-developers mailing list