2015-12-03, 18:16
@afremont: You can use "bcmstat.sh ZAD" to monitor memory allocations, and if you're lucky more quickly identify when memory is leaking.
The values in the "Delta" column represent the amount of memory allocated during the last interval period - generally speaking the values in this column should be a random mix of allocations (-, red) and frees (+, green) - an excessive number of allocations is not a good sign, and may indicate leakage.
The values in the "Accum" (accumulated) column represent the total amount of memory allocated (or freed) since bcmstat.sh started. If this number is increasingly negative then it would suggest memory is being steadily consumed, without ever being freed. In normal circumstances this figure should remain close to zero and/or fairly static, with only occasional large allocations - eventually freed - as you navigate the Kodi GUI, start/stop videos etc. Starting background applications/services will also consume memory and skew the Accum column, but you'll need to manually account for this.
The values in the "Delta" column represent the amount of memory allocated during the last interval period - generally speaking the values in this column should be a random mix of allocations (-, red) and frees (+, green) - an excessive number of allocations is not a good sign, and may indicate leakage.
The values in the "Accum" (accumulated) column represent the total amount of memory allocated (or freed) since bcmstat.sh started. If this number is increasingly negative then it would suggest memory is being steadily consumed, without ever being freed. In normal circumstances this figure should remain close to zero and/or fairly static, with only occasional large allocations - eventually freed - as you navigate the Kodi GUI, start/stop videos etc. Starting background applications/services will also consume memory and skew the Accum column, but you'll need to manually account for this.