フィルターのクリア

MatConvNet Compilation out of heap space error

1 回表示 (過去 30 日間)
George Barnett
George Barnett 2018 年 12 月 11 日
回答済み: Maheen Hussain 2019 年 3 月 1 日
Hi,
I'm trying to use MatLab to run a network using MatConvNet. I am trying to compile MatConvNet for CPU using Visual Studio 2015 (I am on windows). When I run the code below, I get the error out of heap space. This is a weird issue, I have 16gb of ram in my machine and i have previously compiled on a 8gb linux machine.
I have tried reinstalling visual studio and matlab, and had a search online for similar issues, but I cannot find any solutions to my problem.
>> mex -setup C++
MEX configured to use 'Microsoft Visual C++ 2015' for C++ language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. You will be required
to update your code to utilize the new API.
You can find more information about this at:
https://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
>> addpath matlab
>> vl_compilenn
Building with 'Microsoft Visual C++ 2015'.
Error using mex
data.cpp
c1xx: fatal error C1060: compiler is out of heap space
Error in vl_compilenn>mex_compile (line 583)
mex(args{:}) ;
Error in vl_compilenn (line 492)
mex_compile(opts, srcs{i}, objfile, flags) ;
>>

回答 (1 件)

Maheen Hussain
Maheen Hussain 2019 年 3 月 1 日
Hey! I'm experiencing a similar issue at the moment. Did you manage to figure it out? Would be a great help!

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by