473,324 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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 5745
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: Darren Dale | last post by:
I love the language. I love the community. My only complaint is that Python for Windows is built with Visual Studio. It is too difficult to build python, or a module, from source. This is what...
13
by: Mars | last post by:
Why this error occurs?? typedef char *string; int main(void) { string str; str="ajsdklfajsdf"; printf("%s\n",str);
5
by: prashantkhoje | last post by:
hi ppl, i am developing an C application in Microsoft visual C++ 6.0. i get following error while running it in debug mode: /* here's the error message */ program: my_application.exe...
16
by: Stef Mientki | last post by:
If I create a large array of data or class, how do I destroy it (when not needed anymore) ? Assign it to an empty list ? thanks, Stef Mientki
1
by: JOCOPVA | last post by:
i try to open up microsoft access 2003 and i get an error message it reads A system error occurred, or there isnt enough free memory to start. Close unneeded programs and tyry again. I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.