W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1999

Re: 16k servlet limit?

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Tue, 19 Oct 1999 15:46:58 +0200
Message-Id: <380C7652.EF175178@informatik.med.uni-giessen.de>
To: Jigsaw Mailing List <www-jigsaw@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:33 GMT