From: SF/projects/mingw n. l. <min...@li...> - 2012-12-01 03:46:37
|
Bugs item #3591569, was opened at 2012-11-30 19:43 Message generated for change (Comment added) made by squallatf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3591569&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: MSYS Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: SquallATF (squallatf) Assigned to: Nobody/Anonymous (nobody) Summary: msys can't malloc memory biger than 268169196 Initial Comment: here is the test code #include <stdio.h> #include <stdlib.h> int main() { void *okmem = malloc(1024*1024*256 - 1024*260 -20); //ok size 268169196 if(okmem) { printf("malloc ok\n"); } void *failedmem = malloc(1024*1024*256 - 1024*260 -19); //failed size 268169197 if(!okmem) { printf("malloc failed\n"); } return 0; } ---------------------------------------------------------------------- >Comment By: SquallATF (squallatf) Date: 2012-11-30 19:46 Message: so that when mingw link large program may failed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3591569&group_id=2435 |