This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]