On Wed, 2010-01-20 at 08:54 -0800, nabbler101 wrote: > So I'm trying to pass a very large string (~15mb) as a parameter using > httppost but I'm getting an OutOfMemoryException. The heap size is set to > 512-1024mb (which should be more than enough.) > > Is there a way around this problem? I'd appreciate any help. >
What is the point of buffering 15mb of data in memory? Have you considered NOT buffering content of the file in memory? Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org