Ignore:
Timestamp:
Dec 30, 2011, 11:01:18 AM (14 years ago)
Author:
dmik
Message:

kernel32: Increase maximum size of internal shared heap from 2M to 8M.

This heap is used for internal resource representation (internal handle structures
and such) and may be exhausted by a badly written application that has big
resource leaks which will most likely hang or crash the Odin application (since
it generally doesn't check if the allocation returns NULL).

Since the heap space is only committed as needed, this increase should not
affect normal memory usage by Odin applications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/globaldata.asm

    r21916 r21931  
    2222
    2323PAGE_SIZE               = 4096
    24 MAX_HEAPSIZE            = (2048*1024)
     24MAX_HEAPSIZE            = (8*1024*1024)
    2525MAX_HEAPPAGES           = (MAX_HEAPSIZE/PAGE_SIZE)
    2626
Note: See TracChangeset for help on using the changeset viewer.