. 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
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
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
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
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
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
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
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
, is that 1G of physical or Virtual memory?
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 ...
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.
. 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
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
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
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
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
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
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
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
19 matches
Mail list logo