Re: Memory Leak or compiler setting?

"Schoenberger" <[email protected]> Thu, 6 Apr 2017 11:07:44 +0200
Newsgroups gmane.comp.video.openexr.devel
Message-ID <E3B6F49C630644DAA2ED34A50EAD8D8D@elliot>
 
Anyone? Just need to know if you have the same issue if you try to load the file.
If you have, it is a big memory leak for long running apps.
 
 
 
Holger Schönberger
technical director
The day has 24 hours, if that does not suffice, I will take the night

 


  _____  

From: Openexr-devel [mailto:[email protected]] On Behalf Of Schoenberger
Sent: Friday, March 31, 2017 4:48 PM
To: [email protected]
Subject: [Openexr-devel] Memory Leak or compiler setting?


Hi
 
I have a memory leak if the file reader throws an exception that the file ends earlier than expected. (+ 0.4 MB every time)
I have tested it with Visual Studio (C++ exception handling off) and with Linux (default flags). 
 
I am just using this code and already get an exception
file = new Imf::RgbaInputFile(filename);
with this file:
 <http://www.binaryalchemy.de/ftp_file/Exr-memleak.zip> www.binaryalchemy.de/ftp_file/Exr-memleak.zip
 
 
Can someone using this code try to load the file 10 times and check if he gets the same memory leak?
 
 
Thanks,
Holger Schönberger
Binary Alchemy - digital materialization

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel