Hello,
I have some code that is setup for dynamic memory allocation and it uses "new" in this fashion:
t_s32* p_rx_samples = new(nothrow) t_s32[tx_sample_count];
Early in the program "new" and "delete" are successfully used for a smaller memory segment.
In the sample case above the size of memory is large. I have a large heap allocated in external memory, and when I look at the available memory in DSP/BIOS there should be enough, however the memory location is in DDR (external) RAM and I am wondering whether "new" might be trying to allocate in local memory (which would not be adequate in size for this particular call). If this is the case, is there a way to ensure that "new" makes use of external memory?
Thanks in advance.
Dan.