Filter löschen
Filter löschen

MatConvNet Compilation out of heap space error

1 Ansicht (letzte 30 Tage)
George Barnett
George Barnett am 11 Dez. 2018
Beantwortet: Maheen Hussain am 1 Mär. 2019
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) ;
>>

Antworten (1)

Maheen Hussain
Maheen Hussain am 1 Mär. 2019
Hey! I'm experiencing a similar issue at the moment. Did you manage to figure it out? Would be a great help!

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by