android - Repo sync hangs -


i trying sources android 1.6 release, repo sync operation keeps hanging.

i pasting last part of message on terminal here:

fetching projects:  19% (32/164) initializing project platform/external/freetype ... remote: counting objects: 970, done. remote: compressing objects: 100% (414/414), done. receiving objects:  57% (558/970), 1.28 mib | 26 kib/s 

it hangs there... no error messages or aything of sort.

has faced similar issue?

i wonder if using vmware run linux. experienced same problem until i've found causing it: tcp window size on our side being set 0 (full). running ubuntu 10.04 on vmware on windows 7 64-bit host. fix make sure give plenty of ram ubuntu on vmware discard memory issues. had mine set 512mb , increase 1.5m better performance. important setting (and 1 did trick actually): make sure set network adapter on vmware bridged mode. if using nat example, nat service choke , mess window size you.

cause: tcp window size of client tells server number of bytes willing receive @ 1 time server; client's receive window. when window set 0 means client won't able receive more data until process whatever data still pending in internal buffers. normal tcp stuff. size effect of window set 0 on client tcp connection still alive time until server decides has waiting enough , kill connection. causing repo sync hang no errors.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -