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 comentario

Kaustubha Govind
Kaustubha Govind el 15 de Feb. de 2012
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.

Iniciar sesión para comentar.

Respuestas (2)

Ken Atwell
Ken Atwell el 15 de Feb. de 2012

0 votos

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 el 15 de Feb. de 2012

0 votos

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)

Categorías

Más información sobre Standalone Applications en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 15 de Feb. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by