Hi, the garbage collector seems like it will kick in when the it's out of memory(it will release the memory by itself), but for the memory section i added by using the following function, the garbage collector seems like not going to kick in when it's out of memory(the board hangs up...), does any one how to enable the garbage collector for the external sdram? (calling GC.Collect() manually can solve the issue, but that's not the way it should works...) Thanks~~~~~
Hi, the garbage collector seems like it will kick in when the it's out of memory(it will release the memory by itself), but for the memory section i added by using the following function, the garbage collector seems like not going to kick in when it's out of memory(the board hangs up...), does any one how to enable the garbage collector for the external sdram? (calling GC.Collect() manually can solve the issue, but that's not the way it should works...) Thanks
~~~~~public unsafe void AddExternalMemory(UIntPtr beginning, UIntPtr end) { AddLinearSection(beginning, end, RT.MemoryAttributes.RAM | RT.MemoryAttributes.ExternalMemory | RT.MemoryAttributes.RandomAccessMemory);