site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VhrAvT2XEjNZXEcZKdvpZhfKHbXoJVxKJ7LQQUngPqhAQISzOSO+Jj8HIEJhr3keI2gv5X5bOyNmdcUo4Nqkf2TYfng9EgUCmjioVSYyqzxJ0rsPkVfAepuHZ+dOZepYu4OicoU93cWpdgRu72Mb3n7FIyhIl0b9+DzrUkXb8P4= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jjaXauCaZrVI8LYz1mjYZ2VLWjrIGdni84Htgpp06aw09HIN6b54EpOWAPsMJBlTdtIWSVJ1HcBmvtOUpwfalk3QD6cG4yy5HcbNrZ/47JewFoGtRL3sWXpQG6ea3OH7SbEbrbH2zzOri9M4/2O0OtlrRm2W+YUShgFS59YYKSM= Boaah.. I feel so silly.. I compiled it as 64 bit code (on my linux system 64 bit is probably the default setting for the used compilers) on darwin and it works!!! I always thought that at least gcc had this somewhere in its default settings. Thanks a lot.. So I guess the explenation is that it used more virtual memory than can be addressed in 32 bit mode (at least on that system). using 64 bit addressing resolves that issue of course... Thanks again omar On 04 Jul 2007, at 18:12, Omar Awile wrote:
'top' is telling me about VM: VM: 3.90G + 7.19M 141826(0) pageins, 0(0) pageouts (my program is not running) So this means there should be by far enough memory around. Those statistics are irrelevant. Every app gets its own VM space. If your program is 64 bit clean, you can of course also always recompile it as a 64 bit binary. I was not yet able to check with vmmap (or malloc_history) because my program spits out these error messages after a very short time and crashes right after. "man malloc" also describes a number of environment variables you can set.
Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/omar.awile%40gmail.com This email sent to omar.awile@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 7/4/07, Jonas Maebe <jonas.maebe@elis.ugent.be> wrote: This email sent to site_archiver@lists.apple.com