11-12-2010 03:22 AM
Good morning,
I'm trying to optimize the memory management of a program for statistical analysis of 2 and 3 dimensions arrays that uses different front panels, accessible through a main front panel. The program works with files with size of 300 MB and after few operations the program reaches the memory limit and crashes. I improved the situation by using the "request deallocation" but I still can not use some parts of my program. The program has been set ( I didn't written it, but I have to improve it) with a massive use of local and global variable that generates, as far as I know (using "tool>profile>allocation arrays"), a memory allocation every time there is a local/global variable in order to create the copy of the data. How can I improve memory management? Is rewrite the program the only solution?
greetings
Paolo
11-12-2010 03:43 AM