Results 1 to 3 of 3
I want to know if i can increase the memory space allocated for a process manually while the process is running ,,,, and if it is possible how i can ...
- 06-01-2010 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 2
Need to Increase memory space allocated for process
I want to know if i can increase the memory space allocated for a process manually while the process is running ,,,, and if it is possible how i can do this ,,,
Thanks..
- 06-01-2010 #2
A process will take as much memory as it needs, unless
- it is limited by it´s own configuration (like for example php: memory_limit = )
- it is limited in limit.conf
- it hits limitations from a 32bit architecture, that means: 4GByte maximum per process, even on PAE kernels
And no, if any of these limitations apply to you, they cannot be changed for a running process.You must always face the curtain with a bow.
- 06-01-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
There are C-API functions to do this such as setrlimit(), and commands that will allow you to increase resource limits in user space (applied when an application starts) such as ulimit. However, I am not aware of a command that will allow you to change the limits of a running application external to that application, although it may be possible. I simply don't know what it would be if such exists.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote