Hi,

the problem was that I have run the server, the client on the same machine.
My Laptop had not enough memory and I have tested with client and server on
different machines. We have successfully send over 1GB :=) it works. 

Here are the test code if anybody are interested.


Thanks for any help
Ferruh


 



-----Urspr�ngliche Nachricht-----
Von: Mike Haller [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 6. Juni 2005 15:58
An: [email protected]
Betreff: Re: Attachments

Afaik default heap size for Java applications is 64MB. If you need more 
memory, use "-Xmx256M" as arguments to the JVM to give the client 
application more memory.

Althouhg this does not solve the problem that the whole request is held 
in memory. Why?

Ferruh Zamangoer schrieb:
> I�am trying to send large attachement files with generated classes with 
> WSDL2Java. When I try to send a file with 4-6 MB it works. When I try to 
> send a file with 80MB I become on the client side a Exception in thread 
> "main" java.lang.OutOfMemoryError: Java heap space.

Attachment: FileUploadServiceClient.java
Description: Binary data

Attachment: FileUploadService.java
Description: Binary data

Attachment: deploy_upload.wsdd
Description: Binary data

Attachment: undeploy_upload.wsdd
Description: Binary data

Reply via email to