У меня в свое время было LabView app который использовал большие data sets и arrays, и у меня были проблемы с работой всего проекта на ПК. Я следовал инструкциам от сюда -
http://zone.ni.com/devzone/cda/tut/p/id/3625. Они там советуют с profile memory usage начинать, а есели все равно проблемы с памятью, пользоватся execution highlighting, и по шагам пройти черех код, одновременно смотря на memory monitor.
Цитата
As a final check, combine execution highlighting with your OS's memory monitor as an excellent sanity check of your memory usage. This method also picks up memory copies that the buffer viewer does not (e.g. wire forks). Set your data size to something large (1 MByte or bigger) and single-step through your code, keeping an eye on the memory monitor. Every data copy will increment the memory monitor as the code executes. For Windows® OSs, the memory monitor is Task Manager. For Mac OS X, it is Activity Monitor. For Linux, use ”top -os” from the command line or one of its graphical variants.
Еще мне очень помогло перейти на новую версию LabView, в 6.1 делалось намного больше копий data buffers чем в 7.1. В версии 8 должно быть еще лучше, но я перестал пользоватся LabView регулярно и не работал с самым новым выпуском.
In Mozilla, you keep tabs on your browser. In the USSR, your browser keeps tabs on you.