Opened 8 years ago
ClonedAreaMemory needs to be rethought
|Reported by:||axeld||Owned by:||czeidler|
|Has a Patch:||no||Platform:||All|
When the app_server is restarted, it will clone an area for each bitmap. This is very expensive, and can easily eat the complete address space.
The client memory usually is one big area (usually up to 128 MB) filled with several bitmaps. If you put 1000 small bitmaps in there, you will need 128 GB of address space the way it's currently implemented.
The app_server basically needs to rebuild the client memory allocator state again based on the space occupied by the reclaimed bitmaps instead.