I’m using GLIDE in my code. What I’m trying to implement is a simple window that displays current date and time…
Very trivial, I agree, but the problem is not related to the implementation itself, the problem is that when I leave my code running for a while, approximately one or two hours, I receive this message on the Visual studio 2013 debug window:
GC: 11msec 1911324 bytes used, 5428344 bytes available Type 0F (STRING ): 2376 bytes Type 11 (CLASS ): 15516 bytes Type 12 (VALUETYPE ): 4368 bytes Type 13 (SZARRAY ): 11184 bytes Type 01 (BOOLEAN ): 84 bytes Type 03 (U1 ): 2628 bytes Type 04 (CHAR ): 492 bytes Type 07 (I4 ): 1008 bytes Type 0F (STRING ): 1944 bytes Type 11 (CLASS ): 4608 bytes Type 12 (VALUETYPE ): 420 bytes Type 15 (FREEBLOCK ): 5428344 bytes Type 16 (CACHEDBLOCK ): 108 bytes Type 17 (ASSEMBLY ): 35976 bytes Type 18 (WEAKCLASS ): 192 bytes Type 19 (REFLECTION ): 216 bytes Type 1B (DELEGATE_HEAD ): 1152 bytes Type 1C (DELEGATELIST_HEAD ): 384 bytes Type 1D (OBJECT_TO_EVENT ): 120 bytes Type 1E (BINARY_BLOB_HEAD ): 1828692 bytes Type 1F (THREAD ): 1152 bytes Type 20 (SUBTHREAD ): 144 bytes Type 21 (STACK_FRAME ): 5268 bytes Type 27 (FINALIZER_HEAD ): 312 bytes Type 31 (IO_PORT ): 72 bytes Type 33 (I2C_XACTION ): 48 bytes Type 34 (APPDOMAIN_HEAD ): 72 bytes Type 36 (APPDOMAIN_ASSEMBLY ): 3972 bytes
And after this the board becomes completely unresponsive to touches.
What could cause this strange behaviour ? If i understand correctly, there shouldn’t be any memory problem, as it says that there are 1911324 bytes used vs 5428344 bytes available…
I really don’t know what to do, I tried to force GC to run (Debug.GC(true)) and to suppress the GC debug messages, but nothing changed…
P. S.: I’m using a Fez Cobra ||| board.