OutOfMemory on weblogic server 2005-01-06 - By Karr, David
Back Are those the exact arguments you're sending on the command line? I'm not sure what that would do, as you're specifying "-mx" twice. You probably meant the first one to be "-ms". In any case, I imagine that would still set "-mx" to 1024, but that's just a guess. Are you monitoring how long it really takes to write the data to the file? Is it really taking on the order of >240 seconds? If so, then you should probably do that on a separate thread, asynchronously from the original client request.
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] On Behalf Of Sanjeev K.R Sent: Thursday, January 06, 2005 1:41 AM To: J2EE-INTEREST@(protected) Subject: OutOfMemory on weblogic server Hi, We are running weblogic 7.0 on linux redhat 7.3. I am getting outOfmemory on the server side whenever we are trying to export large amout of data to a csv file. I tried increasing the heap size by specifying java options "-server -mx512m -mx1024m" but now i am not getting the OutOfmemory but a error on the client side saying "No response for "240" seconds" where 240 is the transaction-timeout . after this i cannot do anything with the server, i have to restart the server :( Can any one please help me solve this problem. Regards Sanjeev
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ======================================================================== === To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Message</TITLE> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=359060417-06012005><FONT face=Arial color=#0000ff size=2>Are those the exact arguments you're sending on the command line? I'm not sure what that would do, as you're specifying "-mx" twice. You probably meant the first one to be "-ms". In any case, I imagine that would still set "-mx" to 1024, but that's just a guess.</FONT></SPAN></DIV> <DIV><SPAN class=359060417-06012005><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=359060417-06012005><FONT face=Arial color=#0000ff size=2>Are you monitoring how long it really takes to write the data to the file? Is it really taking on the order of >240 seconds? If so, then you should probably do that on a separate thread, asynchronously from the original client request.</FONT></SPAN></DIV> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] <B>On Behalf Of </B>Sanjeev K.R<BR><B>Sent:</B> Thursday, January 06, 2005 1:41 AM<BR><B>To:</B> J2EE-INTEREST@(protected)<BR><B>Subject:</B> OutOfMemory on weblogic server<BR><BR></FONT></DIV> <DIV>Hi,</DIV> <DIV> </DIV> <DIV>We are running weblogic 7.0 on linux redhat 7.3.</DIV> <DIV>I am getting outOfmemory on the server side whenever we are trying to export large amout of data to a csv file.</DIV> <DIV>I tried increasing the heap size by specifying java options "<FONT size=2>-server -mx512m -mx1024m</FONT>"</DIV> <DIV>but now i am not getting the OutOfmemory but a error on the client side saying</DIV> <DIV>"No response for "240" seconds" </DIV> <DIV>where 240 is the transaction-timeout .</DIV> <DIV>after this i cannot do anything with the server,</DIV> <DIV>i have to restart the server :(</DIV> <DIV>Can any one please help me solve this problem.</DIV> <DIV> </DIV> <DIV>Regards</DIV> <DIV>Sanjeev</DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV> <P>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <P></P></BLOCKQUOTE></BODY></HTML> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|