restrict perl to do memory allocation from a fixed range of memory -
i have c program perl running thread. restrict perl interpreter use memory chunk pre-allocated (about 2gb). wonder if it's possible , how it.
thanks.
i'm reasonably there no way in normal perl binary, perl's memory allocation code nicely packaged in malloc.c
file in source code. file has lots of comments on how perl's memory allocation works under hood. it's shouldn't hard create locally modified perl want, think.
Comments
Post a Comment