Results 1 to 4 of 4
  1. #1
    patki123 is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default Java Applet hangs

    Hi,i am new to java programming but currently on a project which is basically an applet.Our project is inspired from UltraVNC viewer whose main functionality is remote machine access.The issue that is raising its head in this project is,when we transfer a 100 MB file from client to server (from one machine to another),it gets transferred smoothly for the first time (though it takes 15 minutes).For the second time time too it goes well with another 100 MB file.But for the next transfer of 60 MB file,the applet hangs.We are not really able to know the cause.And to be honest I am not a novice programmer.Any help,suggestion would be greatly appreciated.Thanks in advance.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default

    Look for a memory leak, or file handles that aren't released.

    db

  3. #3
    patki123 is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Default Java applet hangs

    Sir,the logic used here is zip a file to be transferred from client to server or vice versa and to unzip it at the other end.is any problem there in these two functions?we have used a byte array -> byte[] buffer = new byte[8192]; is size of array a problem? or input/output streams a problem? thank u.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

Similar Threads

  1. tool hangs
    By english in forum SWT / JFace
    Replies: 0
    Last Post: 01-14-2011, 11:09 AM
  2. Program hangs
    By yuliada in forum Advanced Java
    Replies: 2
    Last Post: 11-11-2009, 04:58 AM
  3. Applet hangs while using JOptionPane.xxx()
    By Basit in forum Java Applets
    Replies: 3
    Last Post: 08-08-2009, 07:18 PM
  4. Discussion: JVM hangs
    By Arica in forum Advanced Java
    Replies: 5
    Last Post: 06-29-2009, 05:29 AM
  5. java mail hangs
    By ashwinkumar18 in forum Advanced Java
    Replies: 6
    Last Post: 03-14-2009, 11:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •