Re: Stack corruption and memory leak problems in c++/Fortran application
- From: Steve Lionel <steve.lionel@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 18:19:01 -0000
On Oct 31, 9:26 am, Anndy <see.n...@xxxxxxxxx> wrote:
On Oct 31, 7:47 pm, Anndy <see.n...@xxxxxxxxx> wrote:
there is one more interesting thing what i have noticed. if I put a
WRITE statement in
fortran subroutine, it will take some memory for it.
is this memory is also going on stack?
No - it is heap-allocated memory used by the Fortran I/O library. You
will typically see some memory used for the first I/O on a unit and
subsequent operations will not use more memory.
Steve
.
- References:
- Stack corruption and memory leak problems in c++/Fortran application
- From: Anndy
- Re: Stack corruption and memory leak problems in c++/Fortran application
- From: Colin Watters
- Re: Stack corruption and memory leak problems in c++/Fortran application
- From: Anndy
- Re: Stack corruption and memory leak problems in c++/Fortran application
- From: Louis Krupp
- Re: Stack corruption and memory leak problems in c++/Fortran application
- From: Anndy
- Re: Stack corruption and memory leak problems in c++/Fortran application
- From: Anndy
- Stack corruption and memory leak problems in c++/Fortran application
- Prev by Date: Re: OpenMPI Fortran: 'Error reading module mpi' and unexpected but silent termination
- Next by Date: Re: Stack corruption and memory leak problems in c++/Fortran application
- Previous by thread: Re: Stack corruption and memory leak problems in c++/Fortran application
- Next by thread: Re: Stack corruption and memory leak problems in c++/Fortran application
- Index(es):
Relevant Pages
|