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 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

Is a new Thread created per request? Have you tried
using a Thread Pool as in, for example, Doug Lea's
"util.concurrent" package? Do these Threads never
get destroyed?

Ranjit.


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