On Apr 3, 2:52 am, "Mr. Kakakuva Bird" <[email protected]> wrote: > I am using edtftpj-pro3.1 trial copy in my android app to make SFTP > connection with the server. > After few connections with the server with 5-6 file transfers, my app > is crashing with following exception "HeapWorker is wedged". > I'm using Sqlite dbms. Is it causing the problem or what could be the > problem??
The interesting part is: > 04-03 15:06:35.663: ERROR/dalvikvm(12526): HeapWorker is wedged: 13056ms > spent inside > Lcom/enterprisedt/net/j2ssh/sftp/SftpFileOutputStream;.finalize()V It spent 13 seconds in a single finalizer function without making any progress. It appears to be waiting on some other thread: > 04-03 15:06:36.122: INFO/dalvikvm(12526): "HeapWorker" daemon prio=5 > tid=5 TIMED_WAIT > 04-03 15:06:36.122: INFO/dalvikvm(12526): | group="system" sCount=1 > dsCount=0 s=Y obj=0x42e186d8 self=0x116928 > 04-03 15:06:36.122: INFO/dalvikvm(12526): | sysTid=12527 nice=0 > sched=0/0 cgrp=default handle=1140944 > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > java.lang.Object.wait(Native Method) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > java.lang.Object.wait(Object.java:326) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > com.enterprisedt.net.j2ssh.sftp.B.A((null):-1) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.getOKRequestStatus((nul > l):-1) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > com.enterprisedt.net.j2ssh.sftp.SftpFileOutputStream.A((null):-1) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > com.enterprisedt.net.j2ssh.sftp.SftpFileOutputStream.close((null):-1) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > com.enterprisedt.net.j2ssh.sftp.SftpFileOutputStream.finalize((null):-1) > 04-03 15:06:36.122: INFO/dalvikvm(12526): at > dalvik.system.NativeStart.run(Native Method) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

