For general Java performance see "Java Platform and Performance
Tunining" by Steve Wilson (?) and Jeffrey Kessleman. There are also
code camps availabe on the Sun site (search on code camps). Get a good
profiler.
-----Original Message-----
From: Ralph Bursie [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 9:57 am
To: [EMAIL PROTECTED]
Subject: Is there a good book on "How to avoid memory leaks in web-
applications"
Hi,
running a servlet in Tomcat connecting to a remote object via iiop, I
seem to have lots of memory leaks.
In fact Tomcat is growing and slowing down. I have tryed to avoid
instance variables, have dereferenced
variables etc...... Writing the same test (same server/similar model)
with applets I ran into other (new) problems.
I would like to overcome this problems, so I am looking for additional
books and/or examples that handles usage
of servlets/applets with iiop, and covers the aspect of memory leaks.
Can anybody recommend such a book (source).
I have looked at Java Server Pages by Hans Bergsten, Database
Programming with JDBC, Java by George Reese,
and Java Servlet Programming by Hunter and Crawford.
It would be nice if the book could explain what to do and what to avoid
(i.e. some rules like in "Effective C++" by
Scott Meyers).
It would be great to have a small example test-servlet (or even applet)
that is free of leaks and shows how it should in
principle work and that might be used as kind of reference.
Any idea is welcome.
Ralph
--
________________________________________________________________________
___ To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body of the message "signoff SERVLET-INTEREST". Archives:
http://archives.java.sun.com/archives/servlet-interest.html Resources:
http://java.sun.com/products/servlet/external-resources.html LISTSERV
Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html