I don't believe it's a memory issue. I'm using Visual Studio 9.
The performance improved quite a bit when I set the Buffer Security Check to "No" in the Code Generation, and with default Release optimizations. Setting other optimizations does not show any improvement. Using Whole Program Optimization increases the size of the libraries to an unusable size. ----- Original Message ----- From: Zach Deedler To: OpenSceneGraph Users Sent: Monday, May 05, 2008 4:47 PM Subject: Re: [osg-users] OSG Static Libraries Are you running out of memory, and starting to use virtual memory? ------------------------------------------------------------------------------ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DC Fennell Sent: Monday, May 05, 2008 12:33 PM To: Public OpenSceneGraph Users discussion list. Subject: [osg-users] OSG Static Libraries Hello, I've built OSG core and plug-in libraries statically. The performance I get is quite a bit slower than using DLLs. It would seem that the performance should be equal, if not better using the static libraries. I followed the instructions from the link below. http://www.openscenegraph.org/projects/osg/wiki/Community/Tasks/Win32StaticLink Besides the OSG_LIBRARY_STATIC preprocessor command added using CMAKE, I had to add OPENTHREADS_EXPORTS to the core and plug-in libraries to avoid compile warnings/errors in the main application. Has anyone else gone the static library route? If so, was there any noticeable differences in performance? Any ideas on what I am doing wrong to get such poor performance. I'm talking about less than half the performance as with the DLLs. Thanks. ------------------------------------------------------------------------------ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

