PDA

View Full Version : Error passing parameter using Hessian.


kotesh
Oct 4th, 2004, 03:12 AM
Hi,

This is my Interface Method...

public void uploadFile(byte[] buf, String destFileName)

I am calling this method from my client program..using Hessian

stub.uploadFile(outbuf, serverPath);

Its working fine when the buf size is small say 10MB. :)
when i try to send buf size say 23MB i am getting this error
java.lang.outOfMemoryError. :cry:

Client program couldn't call server method..
Hope you got me...

Thank You,
Regards,
Kotesh.

Alef Arendsen
Oct 6th, 2004, 04:51 PM
Have a look at the Caucho site (www.caucho.com) for more info on Hessian please. They probably know much more about it than we do.