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
