| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Mar 07, 2011
Location: Dallas, TX (USA)
Posts: 5
![]() Mac Specs: MacBook Pro 13" (mid 2009), iPhone 3G (White), iMac (Blondi Blue)
|
Greetings fellow Macs.
Is there a way to limit particular Process to a set amount of RAM? And, make it permanent, if possible. For instance: prevent the process- DTDKSymbolHelper -from using any more than 512MB of real memory. Currently this process can use up to 1.3GB or more of memory! ![]() My Specs: MacBook Pro 13" (mid 2009) OS X 10.6.6 4GB RAM (from 2GB) |
| QUOTE Thanks | |
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,852
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
No there most likely isn't a way to limit a process to a certain amount of memory, modern OS' portray RAM as infinite through first making physical RAM available and when that begins to shrink swapping unused pages of RAM to the hard disk to make more of it available, this is how the system can operate for as long as they do with programs coming and going..
Why are you interested in limiting this application anyway? Is it causing some issue on your Mac? Are you just worried about the high number? Regards |
| QUOTE Thanks | |
![]() Member Since: Mar 07, 2011
Location: Dallas, TX (USA)
Posts: 5
![]() Mac Specs: MacBook Pro 13" (mid 2009), iPhone 3G (White), iMac (Blondi Blue)
|
Thank you for the fast reply and inquiry.. Here's my situation/details: My Issue - I identified the process to be (from top command line): DTDKSymbolHelper it runs ONLY when Organizer in Xcode launches after I connect my iPhone 3G for testing my app. A pop-up shows: Unknown iOS detected Xcode does not have debugging information for the version of iOS on the device named “master”. Xcode can collect debugging data from the device to enable development with this version of iOS. This process only needs to be done once per iOS version, and will take several minutes. either choose "Cancel" or "Collect" If I hit "Cancel" I am not able to use my device to test my app. If I hit "Collect" it does what it states, but would grind the system down to a halt AND requires me to do this EVERYTIME I launch Xcode, even though it says it "...needs to be done once per iOS version" That process will take up to 1.3GB or more of RAM when it gets going. It will release after it's done, after 3-4 minutes. What I have tried - 1. kill the specific process: DTDKSymbolHelper - but again I am left with not being able to use my iPhone. 2. Close All other programs other than Xcode - doesn't help it will still take up that much memory. 3. Upgraded my RAM from 2GB to 4GB - Hasn't helped. Specs: MacBook Pro 13" (mid 2009) OS X 10.6.6 4GB RAM (from 2GB) Xcode v. 3.2.5 iOS (on iPhone 3G) 4.2.1 Any help will be much appreciated. |
||||
| QUOTE Thanks | |||||
![]() Member Since: Jul 17, 2009
Location: MA
Posts: 5,852
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi
|
Thank you for posting the full issue, this post should probably be moved to the Development forum..
I've played with Xcode and have deployed apps to the simulator but not to a device, so I'm not really sure what's going on there.. But just as a test, have you tried uninstalling and re-install Xcode to see if it changes anything?? Regards |
| QUOTE Thanks | |
![]() Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,331
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2012 13" MBP (2.5 i5, 8GB)
|
Important Links: Community Guidelines : Use the reputation system if you've been helped. M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST. |
| QUOTE Thanks | |
![]() Member Since: Mar 07, 2011
Location: Dallas, TX (USA)
Posts: 5
![]() Mac Specs: MacBook Pro 13" (mid 2009), iPhone 3G (White), iMac (Blondi Blue)
|
Quote:
Okay, who should I ask to move this post? The re-install option would be my Last resort. Because after you pay Apple for the developer license, there's quite a few More steps to get/set profiles and certificates into Xcode to get it fully operational with your test hardware. I really don't want to go through that right now... a re-install will loose all those profiles & certificates. Quote:
Hopefully a member who has used ulimit will chime in on this. (Because, for me at least, reading the man pages without Working examples makes it a tad difficult for me to comprehend it's direct usage.) **** I know that back in the dark ages - OS 9.x - you were able to limit physical memory per application. Which I used. And, in OS X: I read about launchd and there's quite a few sites that just rehash its man page, without working examples how to make this command work for my situation. Same goes for setrlimit... Anyone who's more familiar with these commands, please enlighten a fellow mac-brethren on how to (or even if it can) do what I've stated. I would be sincerely grateful. |
||
| QUOTE Thanks | |||
![]() Member Since: Mar 07, 2011
Location: Dallas, TX (USA)
Posts: 5
![]() Mac Specs: MacBook Pro 13" (mid 2009), iPhone 3G (White), iMac (Blondi Blue)
|
|
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| HELP! Mac OSX vs. WinXP Multitasking Limits?! | TekWiz | Switcher Hangout | 31 | 11-20-2006 07:00 PM |
| Memory Installation Order | mac57 | Apple Desktops | 2 | 07-03-2006 03:37 PM |
| Adding Memory | DJDP | Apple Desktops | 3 | 06-22-2006 09:36 AM |
| Need Help with Memory problem | JavaJunky | Apple Notebooks | 8 | 03-12-2005 02:11 AM |
| Trans Intl. offers 1GB iBook G4 memory modules | Murlyn | Apple Notebooks | 0 | 11-12-2003 01:41 AM |
All times are GMT -4. The time now is 09:10 PM.
Powered by vBulletin