P
praveenkumarr
Out of memory exception from a JSP File..
Description:
Getting out of memory exception while exporting a CSV file frmom JSP
While clicking the download button, it forwards to a struts action
class and from there it calls PO and DAO for database calls and
executing the query to download the data...
and the data is put in a List..and finally a JSP is converting the List
object to one StringBuffer object and writes it to an CSV file.
Expected Solutions:
1. I need to keep the session active until it gets downloaded..bcos it
takes time to download the file, mean -while the session get destroyed
2. Performance tuning to Fix that error
Please help me out at the earliest...
Thanks in advance..!
Description:
Getting out of memory exception while exporting a CSV file frmom JSP
While clicking the download button, it forwards to a struts action
class and from there it calls PO and DAO for database calls and
executing the query to download the data...
and the data is put in a List..and finally a JSP is converting the List
object to one StringBuffer object and writes it to an CSV file.
Expected Solutions:
1. I need to keep the session active until it gets downloaded..bcos it
takes time to download the file, mean -while the session get destroyed
2. Performance tuning to Fix that error
Please help me out at the earliest...
Thanks in advance..!