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 commentaire

Kaustubha Govind
Kaustubha Govind le 15 Fév 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.

Connectez-vous pour commenter.

Réponses (2)

Ken Atwell
Ken Atwell le 15 Fév 2012

0 votes

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 le 15 Fév 2012

0 votes

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)

Catégories

Produits

Tags

Question posée :

le 15 Fév 2012

Community Treasure Hunt

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

Start Hunting!

Translated by