hi celeste,

In our application , we use large number of JSP's say around 300.
Will there be a problem for Jrun to load all the servlets into the
memory in the long run?.Does jrun has the mechanism of unloading
the servlet if it is not referenced for longer time?

with regards,
           rathna.

Celeste Haseltine wrote:

> Rathna,
>
> Please double check what I am about to say on the Allaire developer web
> site, but I think that you have a misunderstanding of how a JSP
> complier/interpreter works, which is what JRUN is.
>
> In Java, you do a have garbage collection, such that when an object is no
> longer being "referenced" by anything else, the garbage collector comes in
> behind the scene and deallocates memory for you.  But that is NOT how JRUN
> server works.  It is a JSP interpreter/complier, and as such, when you "hit"
> a JSP page, that page is compiled into a servlet, and is then stored in
> memory.  It remains in memory UNTIL you either restart you server, or change
> the JSP(at which time it is re-compiled).  To my knowledge, JRUN server
> NEVER deallocates memory related to the JSP's or the servelets.  Because of
> this, you sometimes get bizarre behavior when you change your JSP's often
> enough WITHOUT stopping and restarting the JRUN server during the
> development phase.  That is one reason why I always stop and restart my JRUN
> server when I change either a JSP or a Servlet.  I want to make sure that
> the previous copy has been "wiped" out of memory.  Please note that this is
> NOT how your Java Objects/Beans are handled.  The "references" to those
> objects and beans are deallocated by the JVM.  Remember, the JVM is NOT
> compiling/interpreting your JSP or servelets, it is JRUN.
>
> Again, make sure that I am correct on this by posting to the Allaire
> developers web site/discussion group for JRUN 3.0.
>
> Good luck!!!
>
> Celeste
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rathna
> Sent: Thursday, May 03, 2001 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: Garbage collection issue - URGENT
>
> Hi all,
>
> I wonder is there any garbage collection problem in Jrun 3.0 version.
> we are using JDK 1.2.2 in jrun 3.0 version on solarix box. In the long
> run
> the application becomes very slow.we have 1GB of swap space
> and after running the jrun(after several hit) the swap space reduced to
> nearly
> 15MB.so i have a feeling that the Jrun is not releasing the memory
> correctly.
>
> Is there any know memory issue in Jrun 3.0?
> FYI,we have said the heap size as 512MB for Jrun.
>
> Thanks in advance.
>
> --
> Cheers,
>     rathna
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

--
Cheers,
    rathna


ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø

  P Rathinavel
  Sr.Systems Engineer - eCommerce Division
  Wipro Technologies
  Electronic City
  Bangalore 561229, India
  Tel  : 8520420/416/424/408  Extn : 1322
  E-mail: [EMAIL PROTECTED]
  www.wipro.com

Living on earth may be costly,but it includes a
free annual trip around the sun!!

ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to