06-24-2008 05:51 AM
06-24-2008 06:50 AM
06-24-2008 06:59 AM
I wouldb't re-install Labview just yet. It's unlikely the source.
Can you post your code? It would be easier to evaluate it.
RayR
06-24-2008 07:56 AM
That error will ocur if you try to allocate a buffer that is larger than the largest contiguous memory block the OS's memory manager has available.
Under the best conditions this is usally about 1.2 G. I have pushed it farther but its not trivial.
Last I checked the Profile tool only crashed LV when used in combination with one of the add-ons (don't remeber which off-hand). I think that bug was fixed so an upgrade to LV 8.5 should fix the Profile tool crashing LV.
You are probably building a large array somewhere. Try using a different method for stroing the data.
Trying to help,
Ben
06-24-2008 08:29 AM
06-24-2008 08:36 AM
06-24-2008 08:37 AM
06-24-2008 08:59 AM
You must be confusing me with someone who knows what they are talking about.
I did apply to IBM about 28 years ago. They shot me down saying "We don't take retreads." (meaning if you ever worked for anyone else, they were not interested). That left me with a very sour taste in my mouth regarding IBM. So I turned around and got myself hired by there biggest competitor, DEC. I also gave Bill Gates a virtual "high-five" when he DOS'd IBM and thereby killed OS2.
Ben
06-24-2008 02:34 PM
Hi,
I do have a large array, but at its largest it is about 200 Mb. I think I'm creating needless copies somewhere as I can see that the memory usage of the program increases with time. However, when the crash comes it looks like I've still got plenty of space. If the problem is contiguous memory, splitting the array into smaller chunks will solve the problem, but I'll have to merge the parts at some point and then I'll have the same problem won't I?
Is there something else I can look at in the Task Manager to help pinpoint this?
And about the profiler - I wrote about in thread http://forums.ni.com/ni/board/message?board.id=170&message.id=294881&requireLogin=False. I was using LV 8.5, so the LV version is not the problem.
I can't post the code - it's confidential... but I need to scan from a daq board data from several channels. The scan size is 1024x1024 pixels, 16 channels. I realize this is big, but our competitors manage this OK :). I keep this in a 3D array of doubles. (no clusters or complicated data types). I use a queue for storing it and deque and enque as needed, and I pass the reference to subvis.
Any ideas would be greatly appreciated.
Thanks,
Danielle
06-24-2008 02:48 PM