]
Steven Hawkins resolved TEIID-5534.
-----------------------------------
Resolution: Done
Changed the code to allocate in 1/4 increments for smaller vms - but did not yet add any
logic to reclaim them if unused.
Smaller initial memory buffer allocations
-----------------------------------------
Key: TEIID-5534
URL:
https://issues.jboss.org/browse/TEIID-5534
Project: Teiid
Issue Type: Quality Risk
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 12.0, 11.2.1
For smaller vms, under 16 GB, the default allocation scheme for on-heap fixed memory
buffers is in 1 GB increments.
This can be quite large for VMs under 8 GBs - especially if the full commit of that
memory is not needed.
The allocation scheme should introduce the buffers more incrementally and release them
when compaction is run if they aren't needed.