LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Linker problems with CVI


Hi Sirs, I have a strange problem with CVI. I have a workspace regularly working untill yesterday, but now CVI environment crashes during building, when linking. It happens when I add another one global variable, but when I remove it, CVI builds regularly. It seem to me as CVI could manage only a limted number of global variables. When I add to many global variables, memory usage reachs 1.8 GB and CVI stops with "Out of memory error".  The problem is the linker, because the compiling phase ends properly. Thanks to all.

Message Edited by visiondevice on 11-21-2005 07:38 AM

0 Kudos
Message 1 of 4
(3,066 Views)
Hi all,
 
I have the same problem since this week : "Out of memory" error message always appears when CVI tries to link my (big) project, in Release mode.
I don't know if it is because of global variables. I added any recently (few static variables).
The problem appeared one year ago in Debug mode : I decreased the number of enabled build options ("Generate source code browse information" disabled in particular) to avoid it.
But now, I am blocked : I can only generate my executable file in Debug mode  😞
 
I use CVI 6.0.
My project has 122 source files (.c), 160 header files (.h), and 20 DLLs (not including CVI, Microsoft or system files of course).
I have 1 Gb of RAM.
 
Does anyone have a solution ?
Does CVI 7.x resolve the problem ?
 
Thanks.
0 Kudos
Message 2 of 4
(3,019 Views)
I had support from National. About my problem, there is a limitation in the debugger of CVI when using a lot of structures and "enum".
I avoided the problem setting the debugging level at "No runtime checking". There is not that problem with CVI 8.
But I have no problem in release mode.


0 Kudos
Message 3 of 4
(3,015 Views)
I have just tried to build my project with CVI 8.0 (evaluation licence) and it works (in Release and in Debug modes, all build options enabled).
 
With CVI 6.0 in Debug mode, setting the debugging level at "No runtime checking" does not resolve the problem on my project => I must disable "Generate source code browse information".
 
But does someone know if there is a solution to the "Out of memory" error in Release mode for CVI 6.0 ?
Disabling all build options does not work.
 
Thank you for your help.
0 Kudos
Message 4 of 4
(2,989 Views)