468,511 Members | 1,582 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,511 developers. It's quick & easy.

VB.NET System Hardware Total and "free" memory.

How can I determine a users PC Total system memory and memory available or
free at the time of my program loading.

Thanks


Nov 21 '05 #1
5 5540
Michael,

When you programming is processing the used memory is completly dynamical,
and therefore my question because I am curious about that, what is the
reason of your question?

Cor
Nov 21 '05 #2
"Michael" <mc********@houston.rr.com> schrieb:
How can I determine a users PC Total system memory and memory available
or free at the time of my program loading.


MemoryStatus
<URL:http://dotnet.mvps.org/dotnet/samples/operatingsystem/MemoryStatus.zip>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
Cor

The stress analysis program I am developing assembles a global matrix based
on the number of elements etc.

As the complexity of the problem increases so does the global array which is
solved by linear matrix algebra.

I wanted a method to be able to advise a user that there was sufficient
memory available or warn when the limit is being reached.

Thanks

Mike

"Cor Ligthert" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Michael,

When you programming is processing the used memory is completly dynamical,
and therefore my question because I am curious about that, what is the
reason of your question?

Cor

Nov 21 '05 #4
Mr Wagner

Thanks for the reply I notice that API calls are needed. Does this mean
that VB.Net has no mechanism to read the total system memory

Thanks for the reply

Mike

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uX**************@TK2MSFTNGP14.phx.gbl...
"Michael" <mc********@houston.rr.com> schrieb:
How can I determine a users PC Total system memory and memory available
or free at the time of my program loading.


MemoryStatus
<URL:http://dotnet.mvps.org/dotnet/samples/operatingsystem/MemoryStatus.zip>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5
"Michael" <mc********@houston.rr.com> schrieb:
Thanks for the reply I notice that API calls are needed. Does this mean
that VB.Net has no mechanism to read the total system memory


That's true.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.