Results 1 to 10 of 15
I can't seem to find the answer to this anywhere. been googling and searched this forum with no luck. I posted on backtrack forum which is based off of ubuntu ...
- 10-14-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 8
restrict memory usuage of process
I can't seem to find the answer to this anywhere. been googling and searched this forum with no luck. I posted on backtrack forum which is based off of ubuntu and no luck.. I have this windows program that I have running on wine and it's eating up all my memory when I run it .. I need to use it for a class. Can I limit the amount of memory it uses..I tried ulimit -v and so others but seems like program just ignores it.any ideas..is it possible to limit user process..BTW im running as root...
- 10-14-2011 #2
Stop running the process as root. Root has access to all system resources including memory.
Check the manual page on ( man limits.conf) /etc/security/limits.conf if it has something useful
- 10-14-2011 #3
Additionally:
If this app *needs* so much memory (btw: how much and how did you measure it?) and you introduce a limit, then it will probably crash.
Is it a requirement to run exactly this app? Maybe there is a native linux alternative.You must always face the curtain with a bow.
- 10-14-2011 #4Just Joined!
- Join Date
- Sep 2011
- Posts
- 8
Well, I used it running the real -m command and top command.. I was able to use cgroups to restrict it but the program still seems to hang..It's for this ethical hacking course I'm taking and it just bothers me because according to Prof other students are not having an issue with it..It's running on Backtrack linux and the program is running in wine ..the program is called FOCA which runs only on windows..I'm stumped..Just not sure why other students are not having issues and I am..
- 10-15-2011 #5Linux 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,977
Are the other students also running it under Wine/Linux, or are they running it natively on Windows?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-15-2011 #6Just Joined!
- Join Date
- Sep 2011
- Posts
- 8
well, no way for me to confirm but they are suppose to be running in wine just like I am. So I'm going under the assumption that they are running in wine/linux.
- 10-15-2011 #7Linux 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,977
Are they all running the same version of Linux and Wine that you are? What distribution+version of Linux and what version of Wine do you have installed?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-15-2011 #8
An how much memory do you have installed anyway?
Can't find "foca" on appdb.winehq.org btw.
- 10-16-2011 #9Just Joined!
- Join Date
- Sep 2011
- Posts
- 8
I have 4 gigs on my mac..I allocated as much as 3 gigs at one point to the linux VM and foca still hung..
google foca informatica64
- 10-16-2011 #10Linux 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,977
Ok. You are running Linux in a Mac VM, and then running Wine there? What about running Wine directly in the Mac OSX?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote