Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69272

LabVIEW 2019 "Memory is full"- The top-level VI was stopped at SelfRefNode on the block diagram

$
0
0

Hello,

i am having a memory usage problem with my .vi and i still couldn't come up with a solution to it. Three dialog boxes show up when there is an error in this order, respectively (ps.: sorry for it being in french, in this thread you can see a photo of the exact same error but in english https://forums.ni.com/t5/LabVIEW/The-top-level-VI-was-stopped-at-SelfRefNode-on-the-block-diagram/m-p/4055838#M1163688)

First Dialog boxFirst Dialog box

Third Dialog boxThird Dialog box

errorMemory2.PNG

This problem (SelfRefNode "no memory" issue ) is probably due to the size of the array being concatanated array in the consumer loop (see .vi's block diagram photo attachedbelow). Thing is that for the code debugging i am reading a large .txt (~80million lines that will be converted to U32 elements,.txt file size of 800mb - and for the vi's standard operational conditions, i would like to read even larger arrays/.txt...). The txt is just a big array of integers (photo of its format below).

txtFormat.PNG

But it seems, just when the while loop has read all the data, converted it and is about to step out of the loop, i get those error messages.

 

Some infos that might be important :

-As the VI starts, the exact final array size is not known, so i cannot prefix a number of iterations to "pre-allocate" the needed memory

- As shown in the attached block diagram, i read string lines (since it is a .txt file) and convert it to U32 (needed representation)

-The maximum amount of characters of each line is 10 

-All this data is to be contained in wires ( i dont need to output it in indicators whatsoever), since it is to be sent to the FPGA through FIFOS.

-I read the data from a subVI (i already tried to read it from the toplevel vi, but the error persists)

- With .txt of ~250-300mb or less my vi runs smoothly

 

Any ideas or questions are more than welcome 😄

Best regards,

Marra de Lima, Lucas

 


Viewing all articles
Browse latest Browse all 69272

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>