[vtkusers] GPURenderDemo- Difference between linux OS and Windows OS
Aashish Chaudhary
aashish.chaudhary at kitware.com
Tue Sep 23 14:24:21 EDT 2014
On Tue, Sep 23, 2014 at 3:15 AM, Emptystack <wulihouxiaoshuai at 163.com>
wrote:
> I have used the gnome-system-monitor and top commands to test the memory of
> my applications. The result is almost same. So I used gdb to test the
> memory
> increasing point, which happened at the following lines of the
> vtkOpenGLGPUVolumeRayCastMapper.cxx:
>
> if(1) // !this->SupportsPixelBufferObjects)
> {
> vtkgl::TexImage3D(vtkgl::TEXTURE_3D, 0, internalFormat,
>
> textureSize[0],textureSize[1],textureSize[2],
> 0,format,type,dataPtr);
> }
>
> That would make sense since at this point you will expect the data to be
transferred to the GPU.
> the increasing memory is almost the size of the input image data. But on
> windows system,the occupied memory didn't increase on this point. Maybe
> just
> as you said, the RES memory of the top command may also include the video
> memory used by the application,but I cannot find the evidence to prove
> this
> comment. I will spend the following several days to solve this interesting
> problem.
>
You can look at the more detailed log in */proc. *there might be better
tools out there that can give you detain information on memory consumption
used by the app. Let us know if you find something. I will look as well.
You can also write a code which would consume just enough memory to skip
disk swap but which will need part of the memory reported by the htop or
top.
Thanks,
>
>
> Many thanks!
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/GPURenderDemo-Difference-between-linux-OS-and-Windows-OS-tp5728759p5728838.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
*| Aashish Chaudhary | Technical Leader | Kitware Inc. *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140923/deefd3f5/attachment.html>
More information about the vtkusers
mailing list