Loading big file in standalone applications.

Hi,
I ran the same program in matlab and as a standalone application. The two works great when I load a file smaller than 150mb, but if it's a bigger file then the standalone application shut down while in matlab there is no issue even with 1go file.
Thanks for your help.

1 个评论

Perhaps the MCR started for your deployed application does not have enough (contiguous) memory? If you're on Windows, you can run the "memory" command on both MATLAB and from your compiled application and see if the MCR somehow has lesser memory than your local MATLAB.

请先登录,再进行评论。

回答(2 个)

Can you clarify the platform you are targeting? I'm guessing 32-bit Windows (win32), but I'd like to be sure.
If it is win32 and Kaustubha's guess about the lack of contiguous memory is correct, memory shielding may be helpful.
Benoit
Benoit 2012-2-15
Hi, yes I am on win32. I tried -shield medium but that did not help... It is a very strait forward algorithm, I do not duplicate the timeserie. There is only one big array of data. So on matlab memory shows me roughly the size of the array (185mb)

类别

帮助中心File Exchange 中查找有关 Standalone Applications 的更多信息

标签

提问:

2012-2-15

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by