|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Ian Lister wrote:
Woops, you are right. However, I have previously tried both this and ulimit with limits decreasing in steps of 10 from these values to 1, just to check, and I still find nothing much seems to happen :(On Thu, 30 Jun 2005, Amy wrote:
If anyone could tell me why this program isn't using getrlimit correctly, and if there is a way to correct it, I would be very thankful!
[snip]
__typeof__ (r.rlim_cur) limit = (__typeof__ (r.rlim_cur))(size * 1048576);
[snip]
set_memory_limits(10000000);
At a quick glance you seem to be setting the limit to ten million megabytes. Do you see the same problem with a lower limit?
Amy _______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >ulimit doesn't limit memory usage (From: Amy <email@hidden>) | |
| >Re: ulimit doesn't limit memory usage (From: Ian Lister <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.