Hi ,

I am getting out of memory Error when trying to populate a vector with 50000
records ; each record of size 10000 bytes (approx.)

here is the snippet....

<------------------JSP Starts-------------------->
Vector v = new Vector();


v = getData(x,y,z)
<------------------JSP Ends--------------------->


<------------------Bean Ends--------------------->
Vector getData(x,y,z)
{
   Vector vret = new Vector();

  System.out.println("Before Call to DB");
-----------------------1
   vret = getDatafromDB(z);
------------------------2
  System.out.println("After Call to DB");
------------------------3


   return (vret);
}
<------------------Bean  Ends--------------------->


My observation is
i)    The println stmt. 1 is getting printed in stdout but not stmt. 3
ii)   Error is raised by Jrun when stmt. 2's assignment is executed.
iii)  getDatafromDB(z) also returns Vector perfectly.

Configuration :: JSP-Bean
                       Jrun 2.3.3 on Sun Solaris

Please let me know the solution for this.......
Do I need  to anything on JRUN config. ?

Thanks in advance,
Santosh Salian

===========================================================================
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