From: Godmar Back (gback@cs.utah.edu)
Date: Tue Jan 05 1999 - 14:22:35 EST
Does ps include memory used for mmapped files?
Does -verbosegc show different memory usage when zip files are unpacked?
>
> Godmar Back writes:
> > Therefore, I feel that we should always collect if we run out.
>
> I agree with this.
>
> Also, Amancio has pointed out that he's seen the following behavior:
> if you run the same application using Klasses.jar as a zip file, kaffe
> uses more memory (as measured by 'ps' output) than if you unpack
> Klasses.jar into a hierarchy of class files.
>
> FreeBSD's malloc/free should return free'd memory to the system, so
> these should take about the same amount of memory. Perhaps the heap
> get fragmented? I wasn't sure what could explain this. I think we have
We don't use FreeBSD malloc/free, and we never return anything.
> already fixed the bug where we weren't free'ing memory associated with
> uncompressing zip files.
I thought so too, but that fix actually didn't look right somehow.
We'll have to look at it more closely.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:29 EDT