I have incrementally been adding code to my FEZ Cobra project and all of a sudden hit some limit so the program won’t run/deploy properly:
I am not loading heaps of large images, (in total 6 x 480x272 kbd images 100KB each, and 5x2KB file) (i.e. at most resources have 1MB of resources), my main concern is to know what the 12MB of “STACK_FRAME” is being used for. I’m not using multi dimensional arrays either.
I am though using most reference GHI.Hardware DLL’s for GHI GHI.Glide and Microsoft.SPOT
GC gets activates as soon as program starts
Do Static variables get stored in the same memory space as dynamically allocated variables? My program worked find - no changes, when everything was dynamic, but now I’ve made some items static I get the problem below:-
Type 0F (STRING ): 2676 bytes Type 11 (CLASS ): 7476 bytes Type 12 (VALUETYPE ): 3684 bytes Type 13 (SZARRAY ): 8328 bytes Type 15 (FREEBLOCK ): 79104 bytes Type 16 (CACHEDBLOCK ): 72 bytes Type 17 (ASSEMBLY ): 41976 bytes Type 18 (WEAKCLASS ): 96 bytes Type 19 (REFLECTION ): 192 bytes Type 1B (DELEGATE_HEAD ): 612 bytes Type 1D (OBJECT_TO_EVENT ): 72 bytes Type 1E (BINARY_BLOB_HEAD ): 952188 bytes Type 1F (THREAD ): 384 bytes Type 20 (SUBTHREAD ): 48 bytes Type 21 (STACK_FRAME ): 12528252 bytes <<<<<<<<<<<<<<<<<<<<<<< Type 22 (TIMER_HEAD ): 72 bytes Type 27 (FINALIZER_HEAD ): 288 bytes Type 31 (IO_PORT ): 72 bytes Type 34 (APPDOMAIN_HEAD ): 72 bytes Type 36 (APPDOMAIN_ASSEMBLY ): 5172 bytes GC: 2335msec 13621020 bytes used, 9816 bytes available
Any Ideas Why?