Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Compiling MATLAB applications with LARGEADDRESSAWARE

3 ビュー (過去 30 日間)
Amit Varshney
Amit Varshney 2014 年 10 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am creating a standalone application using MATLAB Builder Ex (Release 2014a). Due to high memory requirements inside the Matlab application, I am supplying mbuild with /LARGEADDRESSAWARE flag. However, when I query the available memory (using the MATLAB function "memory"), the "MemAvailableAllArrays" and "VirtualAddressSpaceAvailable" are about 1.2 GB. These values do not change whether the /LARGEADDRESSAWARE flag is present or not. Shouldn't the available memory increase when using the /LARGEADDRESSAWARE flag during build?

回答 (1 件)

Siddharth Sundar
Siddharth Sundar 2014 年 10 月 13 日
If you are running it on a 32 bit OS, then your applications are limited to using 2GB and the rest of it used by the OS in itself. However, using a system wide 3GB switch, this can be changed to allow applications to use up to 3GB and even this may not guarantee that you see the available memory increase when the LARGEADDRESSAWARE flag is used because, this increased memory could be distributed in different ways depending on the applications you have running.
On the other hand, if you are running it on a 64 bit OS, it could be that the available memory increase is limited by the hardware itself (available RAM space).

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by