Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Component Information File (CIF)

Objects that create a new process can use the maxmemory parameters in the CIF to define the maximum size of the heap available to that object.

Example:

Program {
   programname = "QoSBundleTest",
   mainid = AEECLSID_CTFHOST,
   priority = 13,
   stacksize = 8192,
   maxservices = 512,
   maxmemory = 0x200000,
   args = string.format("QoSBundleTest 0x%x", AEECLSID_QoSBundleTest),
   privs = { AEECLSID_CTFHOST, AEECLSID_QoSBundleTest, AEEPRIVID_PLNetwork }
}