Mail Archives: djgpp-workers/1997/07/01/13:15:44
Eli Zaretskii wrote:
> 2) Why are you so sure it's a memory leak? It can be just a
> result of known deficiencies in `malloc' and friends. The fact that Bash
> requests more and more core from the DPMI host doesn't necessarily mean
> that it itself leaks memory (although it might).
Well I'm not so sure. But it's a little bit suspicious, isn't it? ;-)
Just look at the numbers! The first few steps can be because of the
malloc deficiencies (10-100K physical memory loss) but at #7 it's 300K ,
1.2M at #8, 5.0M at #9, and >20M at #10.
Why must bash alloc 20M??
0> > DPMI memory available: 22923 Kb
> > DPMI swap space available: 129297 Kb
1> > DPMI memory available: 22911 Kb
> > DPMI swap space available: 129309 Kb
2> > DPMI memory available: 22911 Kb
> > DPMI swap space available: 129309 Kb
3> > DPMI memory available: 22911 Kb
> > DPMI swap space available: 129309 Kb
4> > DPMI memory available: 22903 Kb
> > DPMI swap space available: 129317 Kb
5> > DPMI memory available: 22887 Kb
> > DPMI swap space available: 129333 Kb
6> > DPMI memory available: 22811 Kb
> > DPMI swap space available: 129217 Kb
7> > DPMI memory available: 22491 Kb
> > DPMI swap space available: 129025 Kb
8> > DPMI memory available: 21235 Kb
> > DPMI swap space available: 128617 Kb
9> > DPMI memory available: 16235 Kb
> > DPMI swap space available: 127345 Kb
10> > DPMI memory available: 119251 Kb
> > DPMI swap space available: 0 Kb
- Raw text -