error C2148: total size of array must not e xceed 0x7fffffff bytes.
-
@d-healey 32 gigs
-
let me restart my computer and see if that fixes it
-
@jeffd That's plenty... but try compiling again and open task manager and watch the RAM usage, see if it goes to some extreme amount or if it won't go beyond a low amount like 4
-
@d-healey
tried it again after restarting..didnt see a weird spike in ram usage.
still didnt workC:\Users\jeff\Desktop\HISE\hi_dsp_library\snex_basics\snex_Types.h(1167,4): error C2148: total size of array must not e
xceed 0x7fffffff bytesthats the error
-
@jeffd Yeah it's basically saying there is an array that is over 2GB somewhere in the compilation. So I was wondering if it was a memory issue. Do you see the RAM usage capping out at around 4GB?
-
@d-healey
in the task manager i see it hovering around 75 mb -
@jeffd Try compiling it manually in Visual Studio
-
@d-healey hise or the dll?
not sure how to do compile the dll manually if that is what you mean
-
@jeffd The dll - do you have the problem compiling HISE too?
In the networks binaries folder there should be a VS solution file.
-
@d-healey no hise works fine
-
@jeffd
yeah same errorC:\Users\jeff\Desktop\HISE\hi_dsp_library\snex_basics\snex_Types.h(1167,4): error C2148: total size of array must not exceed 0x7fffffff bytes
in visual studio
-
@jeffd Are you using the develop branch?
-
@d-healey yes.
maybe i have something set to compile this in 32-bit mode? which is why i am running out of memory?
is that possible
-
@jeffd Yeah I was wondering that, but then I would expect it to reach 4GB of RAM before failing.
The offending line seems to be an array that is dependent on the number of voices. Is your effect heavily polyphonic?
https://github.com/christophhart/HISE/blob/develop/hi_dsp_library/snex_basics/snex_Types.h#L1167
-
@jeffd i dont even know if that is a thing
just guessing
-
@jeffd Yes it is a thing, and by default I think the compiler tries to use the 32bit linker before the 64bit one.
-
@d-healey no i dont think so.
but now im also just testing it out with a simple project with faust.
to see if it that works
same problem arrises with my bigger project and the simple one i made with a faust delay.
on mac it works fine
-
@jeffd said in error C2148: total size of array must not e xceed 0x7fffffff bytes.:
on mac it works fine
Same version of Faust?
-
@d-healey yes and no actually. I first tried it with the older version of faust im using on mac. 2.63 I believe?
got the c2148 error
then i updated faust and hise to the latest to see if that would fix it.
same issue.
-
@jeffd You built HISE from source?