Thad Humphries wrote:

> >> i forgot to mention top only reports 73m allocated by the java process.
> >
> >what happens with your outofmemory exceptions when you -mx200m? I bet they
> >go away.
>
> I was running out of memory on my server trying to do tricks with images
> like Hunter does in Ch. 6.  I had to set -Xmx64m for one image (these 200
> dpi image documents over which I must database info).  Fearing what a
> server would require with dozens of users accessing these documents, I
> rewrote my servlet as an applet.  That works champ.
>
> My next servlet adventure should be a database query system.  I'm hoping
> memory won't be such an issue.

well, assuming you aren't doing reports that take 10k items and do all sorts
of queries based on them and do other logic and stuff, i don't think it will
be a problem.  I'm just waiting for it to crash our windows users netscape /
ie sessions.  we managed to get it to return 5k of the data items, and that
results in 5.1mb of html :) all raw data besides some table formatting stuff.




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to