LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to erase RAM OR CACHE memory in labview

I have stored around 100 jpegs in an array now the loop which I am using takes time to load the jpeg's and to display it.

Due to this my screen appears blank showing the error that the memory is not sufficent.

So can anybody help in erasing the memory(RAM/CACHE) once I am done with loading the jpeg's, so that it does not show any error related to memory.

I have tried the Wait function in loop still its of no use..

Any Comment or Suggestion are Welcomed.

0 Kudos
Message 1 of 4
(3,879 Views)

Hi anurag,

 

you can't deallocate RAM on your own in LabVIEW, but you may ask LabVIEW to do so...

 

You should attach your VI to get more helpful responses. Did you try to eliminate data copies? How did you load7save JPEGs? All that could be answered from looking at your VI...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,866 Views)

Hi,

 

please avoid duplicate posts: here's one where anurag has given a VI for the problem...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(3,849 Views)

Sorry Sir but the problem which I was facing earlier was about the reading and displaying of the JPEG but the new issue is the ' MEMORY STUFF '

Anyways thanks for your reply and I really apologize for wasting your valuable time.

 

0 Kudos
Message 4 of 4
(3,842 Views)