Please provide more details.. Are you using Axis2 in the server or
client side. Are you using MTOM or SwA? Do you use data binding?
etc..etc.. Do you have file caching enabled?

thanks,
Thilina

On 10/17/07, Kurt Bulbring <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
>
> I'm using
> fedora core 5
> tomcat5
> j2sdk1.5.0
> vb6 soap
>
> I'm busy downloading thousands of images.
>
>       public byte[] getImage(String archId,String format,String user,String
> password){
>              checkCredentials(user,password);
>              String fileName = dB.getOneString("select concat(dirName,link)
> from archive where id = " + archId);
>              if(format.equals("pdf")){
>
>              }
>              //String str = fileIO.getFileString(fileName);
>              //return str.getBytes();
>              FileIO fileIO = new FileIO();
>              byte b[];
>              b = fileIO.getByteArray(fileName);
>              fileIO = null;
>              return b;
>       }
>
> If I use axis1 version: 1.4 the images download fine.
> If I use axis2 version: 1.3 the memory usage continues to grow until all the
> system memory is used up, then it seems the
> GarbageCollector starts working but it us very slow.
>
> Any ideas?
>
> Regards,
> Kurt
>
>
>


-- 
Thilina Gunarathne  - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to