Discussion:
How can I free RAM after running labview vi
(too old to reply)
unclebump
2006-08-02 20:40:08 UTC
Permalink
Take a look at these threads.
<a href="http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=0D91084DF54857D7E0440003BA7CCD71" target="_blank">http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=0D91084DF54857D7E0440003BA7CCD71</a>
<a href="http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=B45EACE3F12556A4E034080020E74861" target="_blank">http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=B45EACE3F12556A4E034080020E74861</a>
<a href="http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BDBC351349C011AAE034080020E74861&amp;p_node=DZ52000_US&amp;p_source=External" target="_blank">http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=BDBC351349C011AAE034080020E74861&amp;p_node=DZ52000_US&amp;p_source=External</a>
<a href="http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=BD3FE826C91D23FAE034080020E74861" target="_blank">http://sine.ni.com/apps/utf8/niepd_web_display.display_epd4?p_guid=BD3FE826C91D23FAE034080020E74861</a>
Do you really have to save DBL data?? could you change it to I32 or smaller?
AnalogKid2DigitalMan
2006-08-03 20:10:09 UTC
Permalink
If you have a sub-vi that consumes a lot of memory, you could try request deallocation vi:
Deallocates unused memory after the VI that contains this function runs. When a top-level VI calls a subVI, LabVIEW allocates a data space of memory in which that subVI runs. When the subVI finishes running, LabVIEW does not deallocate the data space until the top-level VI finishes running or until the entire application stops, which can result in out-of-memory conditions and degradation of performance. Place the Request Deallocation function in the subVI you want to deallocate memory for. When you set the flag Boolean input to TRUE, LabVIEW reduces memory usage by deallocating the data space for the subVI.
Loading...