pfMalloc size

New Message Reply Date view Thread view Subject view Author view

Lionel Maiaux (maiaux++at++silicium.corys.fr)
Tue, 26 Mar 1996 18:15:26 +0100


I would like to allocate 140Mo in a program.

If a write it without Performer, the allocation works well :

main()
{
        void* pt = malloc(140000000);
        printf("pt = 0x%08x\n", pt);
}

but if I use Performer (1.2) with pfMalloc, it fails :

main()
{
        pfInit();
        pfConfig();

        void* pt = pfMalloc(140000000, NULL);
        printf("pt = 0x%08x\n", pt);

        pfExit();
}

Does anybody know why ????

(I work on a RS 128Mo and I have the following limitations (getrlimit) :
getrlimit RLIMIT_CORE : soft 2147483647, hard 2147483647
getrlimit RLIMIT_CPU : soft 2147483647, hard 2147483647
getrlimit RLIMIT_DATA : soft 536870912, hard 536870912
getrlimit RLIMIT_FSIZE : soft 2147483647, hard -1
getrlimit RLIMIT_NOFILE : soft 200, hard 2500
getrlimit RLIMIT_STACK : soft 67108864, hard 536870912
getrlimit RLIMIT_VMEM : soft 536870912, hard 536870912
getrlimit RLIMIT_RSS : soft 124334080, hard 536870912)


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:35 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.