Yes. I've increased the size to 1024. could not work with 2048 but still there's a limit to how much I can send.
 
I guess this is a typical error & may be I should be using SAAJ for this.
 
Any clues?
 
Regards,
 
Sanket Desai
 


From: Kozlow, Jan [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 8:14 PM
To: '[EMAIL PROTECTED]'
Subject: RE: java.lang.OutofMemory in large SOAP message

Have you looked at increasing the max size of your vm?
-----Original Message-----
From: Sanket Desai [mailto:[EMAIL PROTECTED]
Sent: Monday, January 03, 2005 10:59 AM
To: [EMAIL PROTECTED]
Subject: java.lang.OutofMemory in large SOAP message

Hi Guys,
 
I'm using SOAP message to pass a large dataset back to the client.
 
Basically I've a java RowSet which I'm converting to String using Base64Encoder & pass the encoded string back to the client. When I've really large number of records like 5000 or so, obviously the encoded string also will get larger.
 
But in such a case, I get "java.lang.OutofMemory" error on axis side.
 
Would anyone know if there's a limitation on SOAP message length or something? If so, would "SOAP with attachment" help in such a case?
 
Any help will be appreciated.
 
Regards,
 
Sanket Desai
 

Reply via email to