maximum memory for gcj-compiled executable?
Thu Apr 3 22:50:00 GMT 2003
On linux, you should easily be able to track this down further by looking at /proc/<pid>/maps and checking which mapping is growing.
> -----Original Message-----
> From: Lars Andersen [mailto:email@example.com]
> Sent: Thursday, April 03, 2003 4:55 AM
> To: firstname.lastname@example.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
More information about the Java