Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > ulimit
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 3655 of 3809
Post > Topic >>

ulimit

by Anu <anuamd@[EMAIL PROTECTED] > Mar 11, 2008 at 07:43 AM

Hi,

 I  had written a program for memory stress testing which uses malloc
to allocate memory  in Mac OS.

 And i set ulimit for virtual memory, data segment and maximum
resident set size to 2048. But evenafter this i am able to allocate
more than 2048 kb.

can anyone help to findout why its so. This program fails to allocate
memory in Linux OS.

thanks in advance.
 




 3 Posts in Topic:
ulimit
Anu <anuamd@[EMAIL PRO  2008-03-11 07:43:08 
Re: ulimit
Jason <godfreja@[EMAIL  2008-03-13 10:14:03 
Re: ulimit
Ben Artin <macdev@[EMA  2008-03-12 17:32:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 19 23:38:51 CDT 2008.