Memory leaks in standard code
Paul Richard Thomas
paul.richard.thomas@gmail.com
Tue Feb 26 21:52:00 GMT 2008
Fx,
> I suggest you use gdb and set a breakpoint in _gfortran_memory_check
Thanks for a suggestion so obvious that I did not think of it:)
> (). Using backtraces, you'll be able to see the source line location.
> My current patch does only register locations for user allocations,
> not front-end generated ones.
Using gdb, I confirmed that the memory allocated by the allocatable
component procedures is also freed. That is to say, each address of
allocated memory is seen in a free. Furthermore, the amounts of
memory make sense.
I can only conclude that the hashtable is getting lost somehow. I
will investigate further.
Cheers
Paul
More information about the Fortran
mailing list