[osg-users] Memory problems in Windows/Visual Studio

Robert Osfield robert.osfield at gmail.com
Thu Apr 19 12:18:18 PDT 2018


Hi Mark,

One thing you could try with your application is to replace the line:


  return viewer.run();

With


  int result = viewer.run();
  osg::setNotifyHandler(0);
  return result;

Robert.


On 19 April 2018 at 20:15, Robert Osfield <robert.osfield at gmail.com> wrote:
> Hi Mark,
>
> On 19 April 2018 at 20:08, Mark Jablin <jablin at bridgetech-laramie.com> wrote:
>> Well, now I'm totally confused about how I convinced myself that it was the ref_ptr that was causing the problem, as removing the LogFileHandler solves the problem.
>>
>> I'll see if I can figure out what's going on there.  Thanks for the help!
>
> Could you share the LogFileHandler implementation?  This might enable
> others to test a complete application and spot the cause of the
> problem.
>
> Robert.


More information about the osg-users mailing list