This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: maximum memory for gcj-compiled executable?
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- To: "'Lars Andersen'" <lars at rimfaxe dot com>, java at gcc dot gnu dot org
- Date: Thu, 3 Apr 2003 13:46:17 -0800
- Subject: RE: maximum memory for gcj-compiled executable?
On linux, you should easily be able to track this down further by looking at /proc/<pid>/maps and checking which mapping is growing.
Hans
> -----Original Message-----
> From: Lars Andersen [mailto:lars at rimfaxe dot com]
> Sent: Thursday, April 03, 2003 4:55 AM
> To: java at gcc dot gnu dot org
> Subject: RE: maximum memory for gcj-compiled executable?
>
>
>
> > Profiled under j2sdk1.4.1 / linux all night long. Heap
> usage never above
> > 2MB.
> >
> > Running on linux, gcj compiled, heap size stabilizes on 6MB after a
> > short while, around 2MB used.
> >
> > Running on win32, gcj compiled, heap size stabilizes on 8MB after a
> > short while, around 3MB used.
> >
> > Now comes the strange part. Overall memory usage keeps growing!
> >
> > On linux it is about 1kb per http request processed, on win32 it's
> > 48KB(!) per request!
> >
> > heap size remains the same.
> >
> > Why is it eating up my memory??? It must be something.
> >
>
> Coul it be thread spawning?
> If so, why the difference between win32 and linux
>
> /Lars Andersen
>