Re: UrlEncodedFormEntity throws OutOfMemoryError exception

2010-01-21 Thread Oleg Kalnichevski
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

Re: UrlEncodedFormEntity throws OutOfMemoryError exception

2010-01-21 Thread David Motes
Use FileBody in the MultipartEntity. See MultipartEntity discussion in this post: http://old.nabble.com/HttpClient-3.1-to-4.0-migration-td25262394.html On Thu, Jan 21, 2010 at 8:14 AM, nabbler101 bghorb...@gmail.com wrote: Yes I've tried MultipartEntity.  That works fine.  But I want to send

apache commons HttpClient Base64 encoding of multibyte characters issue

2010-01-21 Thread Usha_N
Hello, We are using apache commons HttpClient library (commons-httpclient-3.1.jar). Users are providing username and password that has multibyte characters in it. Base64 encoding of the mutlitbyte characters in HttpClient doesn’t seem to be working. Below API’s are used:

Re: apache commons HttpClient Base64 encoding of multibyte characters issue

2010-01-21 Thread sebb
On 21/01/2010, Usha_N usha.na...@siemens.com wrote: Hello, We are using apache commons HttpClient library (commons-httpclient-3.1.jar). Users are providing username and password that has multibyte characters in it. Base64 encoding of the mutlitbyte characters in HttpClient doesn’t seem