Comments (5)
Hi, thanks for the info. Do you think it matters? One is supposed to
finalize adios at the end of the application just before MPI_Finalize(). So
that adios_finalize() does not free every bit of memory, are there any
circumstances where this may cause trouble?
On Sat, Jan 16, 2016 at 4:28 PM, Saurabh Tendulkar <[email protected]
wrote:
Allocations by adios_read_hooks_init and adios_query_hooks_init leak
memory. Simple test case (had to append .txt for github) and valgrind
output attached. Adios 1.9.0, no MPI, valgrind 3.11, 64-bit Linux system.
adios.c.txt https://github.com/ornladios/ADIOS/files/93091/adios.c.txt
valgrind.txt https://github.com/ornladios/ADIOS/files/93092/valgrind.txt—
Reply to this email directly or view it on GitHub
#58.
from adios.
Not much trouble for me, only have to add suppressions for valgrind for our testing. Although it's not my usecase I could see one where adios is run as needed, while the application stays alive, so a separate module handles all adios stuff, so probably not ideal for it to leak memory every time.
from adios.
Huh, should check if the same leak occurs for
adios_init_noxml(MPI_Comm);
adios_finalize(rank);
... we call that several thousand times.
from adios.
The query and read method hooks are not freed in adios_read_finalize. But
they are allocated only once at the first initialization so there is no
memory leak.
The write methods are actually allocated and freed in each
adios_init/adios_finalize steps.
Let me know if you find other types of memory leaks.
On Wed, Feb 17, 2016 at 12:04 PM, Axel Huebl [email protected]
wrote:
Huh, should check if the same leak occurs for
adios_init_noxml(MPI_Comm);adios_finalize(rank);
... we call that several thousand times.
—
Reply to this email directly or view it on GitHub
#58 (comment).
from adios.
all right, thank you!
from adios.
Related Issues (20)
- Can not build on mira HOT 1
- ADIOS_READ_METHOD_BP_AGGREGATE not working in read API HOT 1
- bpdump crash on attribute file written by machine of different en HOT 4
- runconfig fail on theta@alcf HOT 3
- Numpy: Slicing is missing the stepping HOT 4
- python 3 support broken by print statements HOT 1
- SZ transformation build error HOT 2
- adios_mpi.cpp doesn't work with Python 3.7 HOT 2
- Support ZFP 0.5.1+ HOT 2
- Possible bug in bp2ncd utility HOT 1
- GFortran 10 Argument Mismatch HOT 2
- Question about timers HOT 4
- ADIOS Spack package broken on Summit HOT 5
- ZFP_INCLUDE_DIR not set HOT 1
- Compilation error HOT 6
- Attribute of Array of Complex
- Python DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead HOT 1
- Python: wrapper of adios.File close errors
- Python 3.9 Build Error HOT 15
- Bug writing empty data sets? HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adios.