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


Reply via email to