08-12-2021 12:30 PM
Using Labview 2016. Getting a Memory is full error. The error is attached. I've gotten these before so I'm not specifically looking for help with solving the memory error, but I am trying to figure out what a CrossList is? I'm familiar with a crosslist in like C++, but not in Labview. I'm guessing its some kind of array thing?
I'm not going to attach any code or ask with help tracing the issue because this is a MASSIVE project, with a few hundred sub VIs and a massive top level VI. Just looking for info on the CrossList thing.
08-12-2021 01:03 PM
@Zxero88 wrote:
I'm familiar with a crosslist in like C++, but not in Labview. I'm guessing its some kind of array thing?
Considering LabVIEW is written in C, C++, and C#, you can probably assume is it what you are familiar with in C++.
08-12-2021 01:16 PM
I appreciate you trying to engage my critical thinking skills, but thats a very non answer.
Anyone else have an idea?
08-12-2021 02:58 PM
I would also assume that something deep within LV itself crashed and hence you're seeing the error from the language behind the scenes of LV.
One couldn't fix the issue within LV but rather root cause the section in your application that brings out this error.
08-12-2021 10:19 PM
I've used some C++, but I'm not familiar with "CrossLists". A quick search turned up a post with that as the name of a structure, but no standard classes or language features.
Can you describe what you think it is (is it a CompSci data structure? I've not had formal compsci education...)
To get better guesses, I think you'll need to give more information - either the VI that's crashing (even without the other VIs might be helpful) or a larger screenshot rather than a very cropped error message - even the box layout/buttons/positioning might be indicative of the type and location of the error throw, etc, or at least remind forum users of where they've seen similar looking errors.
08-12-2021 11:00 PM
Interestingly found this similar error solved on another post - worth looking into https://forums.ni.com/t5/LabVIEW/Error-msg-quot-top-level-VI-was-stopped-at-subVI-quot-Enqueue-vi/td...
08-12-2021 11:30 PM
Hi Santhosh,
Thanks for sharing the link, but I don't think it's necessarily related to the OP's question - they seem to be curious specifically about the CrossList, but uninterested in troubleshooting the memory leak (the link you gave is solved when the OP in that thread realised that there was a queue with a growing memory buffer due to fast enqueuing and slower dequeuing, leading towards an infinite number of elements queued up and the corresponding memory error).
That being said, if the goal is to solve problems, then solving the memory leak or large allocations (not necessarily leaking, but just bigger than allocable in the target PC/LabVIEW bitness) will be more productive than finding out what exactly is a "CrossList".
08-13-2021 05:48 PM
Yeah I was originally just curious about the crosslist referenced in the error. When I've dealt with memory issues in the past the info in the error message helped with narrowing down where they were occurring. The crosslist thing through me for a loop (and googling showed nothing) so I was hoping it was a background Labview thing that someone on here could just explain to me. Doesn't look like thats the case.
I don't link code because without uploading the entire project I don't see how anyone could help. Just a snippet won't be terribly useful in this case. We have over 650 VI's in this project. Off the top of my head I'd say maybe 100 - 150 are just bloat and aren't used anymore, but the people before me left a **bleep**ing disaster zone that I'm slowly working my way through and cleaning up. The 500 or so VIs left are actually used. The VI where the error is occurring is our "top level" vi, and its **bleep**ing massive. This entire project is a nightmare from top to bottom.
Anyway if I can't figure it out in the next few days I'll come back and see if I can give everyone enough information to maybe get some assistance. I appreciate everyone's responses so far, thanks guys!
08-14-2021 09:19 AM
Ah, I had misunderstood the intention of the post. Thanks for clarifying.