Re: 16k servlet limit?

Hi !

----

Trent Payne wrote:

> I seem to have run into a 16k servlet class file limit. My servlets work fine until the .class file reaches
> around 16384 bytes in size. Then jigsaw always returns "Server returned no information", or something similar.
> It is the same error that is returned if the req.getPrintWriter isn't closed.
>
> Even if i change HttpServlet.get(...) to be a dummy (open printwriter, write trivial html, close, return), it
> still won't work if the class file is larger than 16k.

I heared about a 32k/64k limit for the size of a single method or static data, but never about a 16k limit.
Try to split bigger methods into smaller ones, maybe this helps.
If not, try to reproduce the problem on Win32 or Solaris. If it isn't present there, you've found a bug in your
JAVA VM...

----

Bye,
Roland

--
  __ .  . __
 (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de
  \__\/\/__/  gisburn@informatik.med.uni-giessen.de
  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193 FAX +49 (0) 641/99-41359

Received on Tuesday, 19 October 1999 09:48:47 UTC