[NeXus-code-tickets] [NeXusCode] #45: Memory leak writing a NeXus file using compression
NeXus Data Format Library and Applications
noreply at nexusformat.org
Thu Mar 29 12:01:23 BST 2007
#45: Memory leak writing a NeXus file using compression
----------------------------+-----------------------------------------------
Reporter: Freddie Akeroyd | Owner: Mark Koennecke
Type: defect | Status: new
Priority: major | Milestone: NeXus 4.0 Release
Version: 4.0rc1 | Keywords:
----------------------------+-----------------------------------------------
It concerns a memory leak occuring only if one writes a NeXus file using
compression.
I've made tests with zlib and szlib but the leak is present with both.
To show the problem the test program reads a binary file and writes its
content as a dataset using (or not) the compression.
As attached files you'll find the test program, the binary data file and
valgrind outputs with and without compression (LZW method with zlib)
All tests using Napi 4.0rc1 under linux rhel4 and compiled with gcc 3.4.4.
Best Regards,
Stephane.
--
Ticket URL: <http://trac.nexusformat.org/code/ticket/45>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications
More information about the NeXus-code-tickets
mailing list