Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory allocation

Status
Not open for further replies.

zoby

Technical User
Mar 5, 2001
35
FR
Hello everybody,

Is there someone who knows how allocate some quantity of memory for each application or programm ?

Exemple :

script.sh is a script running each day at 12:00 PM. when it runs, I would like it takes all the free memory available to run faster.

Thanks in advance

Zoby
 
it will, if it can ...

however as far as a Solaris machine is concerned free memory can be anywhere on the system, i.e. disk or physical memory

if your program requires memory it will be given it, as far as solaris can go within it's resources, but it might have to push something else from physical memory into the swap space to do this, and then you're limited to swap size, and disk-io to work with memory.

i have a program that tars up about 90Mb+30Mb+25Mb+30Mb (roughly) every lunch time and at the end of the day (data from an application that if it crashes causes us a lot of grief from certain parties) i only have 128Mb ram (at least until they eventually give in and let me have a little more money) and so when it tars up the files everything in memory gets swapped to disk (unless the application is running quite heavily) even when i 'nice' it.

needless to say, when i come back from lunch (it's not really worth working on the machine when it does this, even with scsi disks) i have to wait a good few seconds for the oracle database to drag itself back from disk ... :)

the moral of this story ... it's very hard to _STOP_ applicationsfrom taking all the free memory :)
 
Yes I understand. But cannot I tell to Solaris, this program will take 64 Mo of memory or more ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top