473,507 Members | 13,917 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

force net application and his objects to be in memory (and not in page file/hd)

hi.

how can i force a process /objects / to be always in memory and not in page
files in the hd.

is there a way to do that in programming ?
Jul 21 '05 #1
6 1595
Dear Tony,

The .Net framework manages memory for you so that you can focus on the business need you are trying to solve. In my experience it does it pretty well what are your system specs?

-Calvin Luttrell
ProjectThunder.com, Inc.
nothing is impossible

hi.

how can i force a process /objects / to be always in memory and not in page
files in the hd.

is there a way to do that in programming ?

Jul 21 '05 #2
its modem/telephony app.
its the app is not active for 1-2 hours, when call arrives it takes 4-5
second to answer the call cause you hear all the page file load to RAM.
is there a way to force object/app to be in the RAM ?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3
Add a worker thread that will do some (usefull?) work repeatedly; thus
keeping your application *awake*.

You can also put a external scheduled program to make the awaking calls.

S. L.

"tony owen" <xs*******@hotmail.com> wrote in message
news:e0**************@tk2msftngp13.phx.gbl...
its modem/telephony app.
its the app is not active for 1-2 hours, when call arrives it takes 4-5
second to answer the call cause you hear all the page file load to RAM.
is there a way to force object/app to be in the RAM ?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #4
You should also check for the possibility of another program gobbling up al
the available memory.

For example, if you don't set limits and unless the databases are very
small, SQL-Server will finish by eating all available physical memory to
fill its buffers. By putting a limit on the quantity of memory it can use,
it is possible that your application will be kept by Windows in memory
instead of beeing swapped out.

S. L.

"tony owen" <xs*******@hotmail.com> wrote in message
news:e0**************@tk2msftngp13.phx.gbl...
its modem/telephony app.
its the app is not active for 1-2 hours, when call arrives it takes 4-5
second to answer the call cause you hear all the page file load to RAM.
is there a way to force object/app to be in the RAM ?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #5


hi.

the thing is ,if i go to the task manager ,in the
performence tab , i see this info :

Phyisical Memory(K)
Total - 523764
Available -202852
System Cache - 233920

mean that i have free ram.
any more ideas will be nice to hear.
have a nice day.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #6
If you have free physical ram, then your application won't be swapped out to
the virtual memory file. However, many things can gobble up memory, for
example an anti-virus scan or the hard disk defragmentation. This will
cause Windows to fill its file memory buffers.

S. L.

"tony owen" <xs*******@hotmail.com> wrote in message
news:eo**************@TK2MSFTNGP09.phx.gbl...


hi.

the thing is ,if i go to the task manager ,in the
performence tab , i see this info :

Phyisical Memory(K)
Total - 523764
Available -202852
System Cache - 233920

mean that i have free ram.
any more ideas will be nice to hear.
have a nice day.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
15829
by: aa | last post by:
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in particular, for hit counters. Is there a similar...
6
2003
by: Jim Butler | last post by:
Currently we are having to do an iisreset to update a gac component on a web server. Just removing it from the gac and re-adding it does not update the code executing on the server. This is not...
6
810
by: Ganesh | last post by:
Is there a utility by microsoft (or anyone) to force garbage collection in a process without have access to the process code. regards Ganesh
16
6711
by: LP | last post by:
Hi, Considering code below. Will it make GC to actually collect. One application creates new instances of a class from 3rd party assembly in a loop (it has to). That class doesn't have .Dispose or...
2
1999
by: Mel | last post by:
This may be a stupid question, but here goes... I have created a NameValueCollection in my website's application state. If, during a page request, I add a string key and string value to the...
8
4845
by: Vishwanathan Raman | last post by:
Hi I have a declared a static DataSet object SOBJ in Global.asax.I also have a localy defined DataSet LSOBJ in Global.asax which I am storing in Application State.Is there any technical...
10
23384
by: Fred Nelson | last post by:
Hi: I have a VB.NET web application and I need to find a way to cause a page refresh from within my application. Does anyone know how to force the browser to refresh the current page? ...
6
345
by: tony | last post by:
hi. how can i force a process /objects / to be always in memory and not in page files in the hd. is there a way to do that in programming ?
0
2197
by: =?Utf-8?B?SkhhbGV5?= | last post by:
Our system is: IIS Server: dual Intel Xeon 2.80 GHz, 4 GB Ram Windows Server 2003 SP2 IIS 6.0 SQL Server: dual Intel Xeon 2.80 GHz, 4 GB Ram (separate server) Windows Server 2003 SP2 SQL...
0
7221
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5039
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.