:Hi,
:
:I have tried this too, it makes absoutely no difference at all. My mallocs
:fail after a certain no. of runs of my code(and there is no memory leak),
:and there was no difference by increasing MAXDSIZ/DFLDSIZ.
:
:Thanks,
:Anjali

    MAXDSIZ and DFLDSIZ are associated with USER malloc()s, not
    kernel malloc()s.

    If you are trying to use malloc() in kernel code there are some
    rather severe limits.  'vmstat -m' will give you a rundown on the
    statistics.

    KVM is only 1G, and a lot of is used-up.  You cannot allocate
    (directly map) hundreds of megabytes of kernel memory.

                                                -Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to