Hi Torsten,

Please see:

http://lists.canoo.com/mailman/private/ulc-developer/2007/005330.html

http://lists.canoo.com/mailman/private/ulc-developer/2007/005320.html


Thanks and regards,

Janak

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Hofmann,
>Torsten
>Sent: Thursday, February 15, 2007 1:22 PM
>To: [email protected]; [email protected]
>Subject: AW: [ULC-developer] Problems with large files and
>ULCFileTransfer
>
>
>Hello
>
>We are using ULC 6.0.5
>Yes we are using the ULCFiletransfer Example from the communitiy.
>We are using JNLP
>
>In the code i found a part:
>
>In the "handleStoreFile" method in the class UIFileUploader is the
>code i think which is the problem.
>....
>                               bin = new
>ByteArrayInputStream(uploadedBytes.toByteArray());
>                               //
>fileService.storeFile(clientFilePath, bin);
>                               fileService.storeFile(clientFilePath, bin);
>...
>
>I think when i transfer a big file the uploadedBytes array is to
>big to store it to the file.
>But i have to user the method storeFile to store the file????
>
>
>Regards
>
>
>Würth Phoenix GmbH
>Torsten Hofmann
>Dipl. - Informatiker (FH)
>IT Consultant Business Integration
>Industriepark Würth
>Drillberg 6 / Geb. 2
>DE-97980 Bad Mergentheim
>Phone: +49 (0)7931-91-6380
>Fax: +49 (0)7931-91-7380
>
>www.wuerth-phoenix.de
>
>Sitz: Bad Mergentheim
>Geschäftsführer: Andreas Braun, Hubert Kofler, Jürg Michel
>Amtsgericht Ulm
>HRB 680 842
>-----Ursprüngliche Nachricht-----
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Im Auftrag von Janak Mulani
>Gesendet: Donnerstag, 15. Februar 2007 09:38
>An: Zywietz, Holger
>Cc: [email protected]
>Betreff: RE: [ULC-developer] Problems with large files and ULCFileTransfer
>
>Hi Holger,
>
>Which version of ULC are you using?
>
>Are you using code from the community? Which version?
>
>How have you deployed your ULC client? As an applet or jnlp?
>
>Can you please send me the whole stack trace?
>
>>From what I understand from the given information,
>FileUploadTaskList, with
>30*1024 bytes per Task, will send the file from server to client
>in chunks of 30K bytes. However, the client keeps on accumulating
>these bytes and allocates memory in chunks. Therefore, at some
>point of time it will need 46MB of memory. So you need to increase
>the heap size of your JVM on each machine where the ULC client is
>running (this may not be practical). So you need to modify
>UIFileUpLoader to handle that. This source code is part of
>community and you can change it as you wish.
>
>Thanks and regards,
>
>Janak
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Zywietz, Holger
>Sent: Tuesday, February 13, 2007 4:52 PM
>To: [email protected]
>Subject: [ULC-developer] Problems with large files and ULCFileTransfer
>
>
>Hi Community,
>
>I'm trying to transfer a file to the client using ULCFileTransfer.
>Are there any restrictions relating the file size?
>
>When I try to transfer a file with a size of 46 MB, I get
>following Exception on client side:
>Thread[AWT-EventQueue-2,6,javawsApplicationThreadGroup]
>com.ulcjava.base.client.UISession b got exception while processing
>[java.lang.OutOfMemoryError: Java heap space] I'm initialising my
>FileUploadTaskList with 30*1024 bytes per Task.
>Any ideas?
>
>
>
>Thanks and regards!
>
>Holger
>
>
>
>ULCVersion: 6.0.5
>Java 1.5.0_04
>
>
>
>Würth Phoenix GmbH
>Holger Zywietz
>IT Consultant Business Integration
>
>Industriepark Würth
>Drillberg 6 / Geb. 2
>DE-97980 Bad Mergentheim
>Phone: +49 (0)7931-91-6278
>Fax: +49 (0)7931-91-7278
>www.wuerth-phoenix.de
>
>Sitz: Bad Mergentheim
>Geschäftsführer: Andreas Braun, Hubert Kofler, Jürg Michel
>Amtsgericht Ulm HRB 680 842 USt. ID. Nr.: DE 813 870 551
>
>_______________________________________________
>ULC-developer mailing list
>[email protected]
>http://lists.canoo.com/mailman/listinfo/ulc-developer
>_______________________________________________
>ULC-developer mailing list
>[email protected]
>http://lists.canoo.com/mailman/listinfo/ulc-developer

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to