Troubles to deploy, application stalls

I am porting a huge application from EMX 4.2SDK to G400 4.3.

Since a while I am facing some troubles to deploy. Sometimes I succeed to deploy after a manual reset sometimes not. Today I am seeing something new:

Using Fez config the application seems to halts after GC fires with this message:

Connecting to G400_Gadgeteer connected. DS Get from xml
PS Get from xml
GC: 87msec 747972 bytes used, 66357792 bytes available
Type 0F (STRING ): 16260 bytes
Type 11 (CLASS ): 75960 bytes
Type 12 (VALUETYPE ): 240 bytes
Type 13 (SZARRAY ): 128520 bytes
Type 01 (BOOLEAN ): 96 bytes
Type 03 (U1 ): 2712 bytes
Type 04 (CHAR ): 660 bytes
Type 07 (I4 ): 36 bytes
Type 08 (U4 ): 60 bytes
Type 11 (CLASS ): 124956 bytes
Type 15 (FREEBLOCK ): 66357792 bytes
Type 16 (CACHEDBLOCK ): 636 bytes
Type 17 (ASSEMBLY ): 44160 bytes
Type 18 (WEAKCLASS ): 48 bytes
Type 19 (REFLECTION ): 168 bytes
Type 1B (DELEGATE_HEAD ): 612 bytes
Type 1D (OBJECT_TO_EVENT ): 720 bytes
Type 1E (BINARY_BLOB_HEAD ): 465792 bytes
Type 1F (THREAD ): 2304 bytes
Type 20 (SUBTHREAD ): 288 bytes
Type 21 (STACK_FRAME ): 4440 bytes
Type 22 (TIMER_HEAD ): 144 bytes
Type 26 (WAIT_FOR_OBJECT_HEAD): 144 bytes
Type 27 (FINALIZER_HEAD ): 528 bytes
Type 31 (IO_PORT ): 792 bytes
Type 34 (APPDOMAIN_HEAD ): 72 bytes
Type 36 (APPDOMAIN_ASSEMBLY ): 6144 bytes
GC: performing heap compaction…

=>>>>>>>>>>>>>>>>>> GC counter: 0 <<<<<<<<<<<<<<<<<<<
Any idea?

@ leforban - I’ve not seen an issue like you described before. If you have a small program that shows the issue, we can always try to reproduce it.

You probably have a timer or an object that was not referenced and so the gc collected it causing your app to stop