Re: system low on virtual memory

2004-06-17 Thread Greg McKaskle
. There are limits to the amount of virtual memory that the OS will let an application have, and when you hit that limit, you will definitely have to start processing in blocks or avoiding fragmentation or both. But this takes more code, is harder to debug, and runs slower since the OSes

Re: Virtual memory

2004-06-16 Thread Uwe Frenz
Ann, you asked on Tue, 15 Jun 2004 15:27:05 -0400: I get this message sometimes when I run my program: System is low on virtual memory Others have already given some hints on how to improve your program in order to avoid this message. If it is just a rare state it may well be worth just

Re: system low on virtual memory

2004-06-16 Thread Ben
Hi Ann, You have received a lot of suggestions but no one has asked how much physical memory is in your machine. Without knowing the detials of your app, I will say that if you are using 512M you may not have enough memory. Depending on the numbers involved, even 512M may not be enough. Trying

Re: Virtual memory

2004-06-16 Thread Scott Hannahs
At 9:46 +0200 6/16/04, Uwe Frenz wrote: Ann, you asked on Tue, 15 Jun 2004 15:27:05 -0400: I get this message sometimes when I run my program: System is low on virtual memory If it is just a rare state it may well be worth just to increase the systems virtual memory. This can be done

RE: Virtual memory

2004-06-16 Thread Hill Richard
I get this message sometimes when I run my program: System is low on virtual memory A friend of mine was getting these warning messages. I looked at his virtual memory setting (Windows 2000 pro) and it was way too low. 100mb or so. I increased it to about 700mb and that stopped

Re[2]: Virtual memory

2004-06-16 Thread Uwe Frenz
Scott, OK, this is becoming a detailled discussion, but here it goes: Scott Hannahs schrieb: At 9:46 +0200 6/16/04, Uwe Frenz wrote: ... System is low on virtual memory If it is just a rare state it may well be worth just to increase the systems virtual memory. This can be done

Re: system low on virtual memory

2004-06-16 Thread Liz F
Hello, As you try to improve the memory usage and performance of your VI, you might benefit from the below resources: a href=http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/1b36040af878870786256cbc006fe314?OpenDocument;Optimizing VI Performance/a a

Re: system low on virtual memory

2004-06-16 Thread analog
Hi Ben, I have 1G so that should be sufficient for LabView, shouldn't it? I checked everywhere for closing references, so nothing is left hanging. I used a lot of property nodes, but I don't think property nodes take up memory space. I think it might be the huge array that I keep looping around

Re: system low on virtual memory

2004-06-16 Thread Ben
, is that 1G of physical or Virtual memory? Ben

Re: system low on virtual memory

2004-06-16 Thread Ben
Adding to the above You may be correct re:the array but with visual aides we may be able to suggest cleaner appraoches. This reminds me of one of Rolf K's quotes which was, Once your physical memory is used up by a single shift register storage, your application is probably going to ...

Re: system low on virtual memory

2004-06-16 Thread analog
of the original, then I don't have any problem. But when I put it a full input, after the program finishes running, the computer runs very slow. Is this also because of virtual memory? Thanks.

Re: system low on virtual memory

2004-06-16 Thread Ben
. These are physical devices (typically sticks) that store your programs and the data. When the OS (operating system) determines that a program is requesting more memory than can be stored in the physical memory, it starts to play tricks on you and provides additional storage by using Virtual memory

Re: system low on virtual memory

2004-06-16 Thread Kevin Price
You said: i...I think it might be the huge array that I keep looping around through shift registers and concatinate array.../i The combination of huge array and concatenation is a recipe for memory waste via fragmentation. I would have to second a

Re: system low on virtual memory

2004-06-16 Thread analog
Hi, thanks for all the good advices. I can't preallocate the array because I don't know how many items will be in the array. It's based on what the user input, base on how many temperature and voltages they want to run the test over. I pull up task manager and the CPU usage when I ran 1/3 of

Virtual memory

2004-06-15 Thread Lai, Ann
Hi, I get this message sometimes when I run my program: System is low on virtual memory My program has two loops, and I use shift registers on these two loops. I have a loop for data array and a loop for graphing the data array. My data when put into excel is more than 1500 rows

system low on virtual memory

2004-06-15 Thread analog
Hi, I get this message sometimes when I run my program: System is low on virtual memory My program has two loops, and I use shift registers on these two loops. I have a loop for data array and a loop for graphing the data array. My data when put into excel is more than 1500 rows

Re: Virtual memory

2004-06-15 Thread Craig Graham
Lai, Ann wrote: Hi, I get this message sometimes when I run my program: System is low on virtual memory My program has two loops, and I use shift registers on these two loops. I have a loop for data array and a loop for graphing the data array. My data when put into excel is more

Re: system low on virtual memory

2004-06-15 Thread altenbach
You are running out of virtual memory, because your physical AND virtual memory are exhausted. If virtual memory is low, free physical memory will be virtually zero. There are a few things you should do: (1) Do a detailed analysis of your code to make sure you don't create extra data copies

Re: Virtual memory

2004-06-15 Thread Greg McKaskle
I believe that the concatenate array function makes a new, slightly larger, copy of the original array to add your new data on to the end, then deletes the original. It's a little smarter in that it adds more space than you need to reduce the number of times it has to do this, but it's still