473,569 Members | 2,383 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 1599
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*******@hotm ail.com> wrote in message
news:e0******** ******@tk2msftn gp13.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*******@hotm ail.com> wrote in message
news:e0******** ******@tk2msftn gp13.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*******@hotm ail.com> wrote in message
news:eo******** ******@TK2MSFTN GP09.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
15848
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 mechanism in PHP?
6
2011
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 desirable. Is there anyway to force it out of memory (i am assuming this is the problem). We have multiple web sites that share the same...
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
6718
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 any similar method. I want to make sure GC keeps up with the loop. My reasoning if Thread.Sleep(1000) is called; GC will take priority it do its...
2
2002
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 collection, how are they stored? Strings are objects so I'm really only passing references, right? Now I assume that request handlers run in different...
8
4853
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 differences in the way both the objects are handled by IIS. Are both objects stored in different memory spaces? I can access both the objects in my web...
10
23392
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? Thanks very much for your help! Fred
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
2207
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 Server 2000 We are having some problems with a website we are developing, and had some
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8132
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7678
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6286
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3644
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
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.