A method (2) of controlling memory usage in a portable streaming device
(100), a portable streaming device (100) and a computer readable medium
(110). The portable streaming device (100) comprises at least one memory
(102), at least one processing unit (101), and at least one storage
device (103) being operatively connected with said memory (102) under
control of said processing unit (101). The size of a disk scheduler
buffer memory within said memory in said portable streaming device is
adaptively maximised by said method (2) at all times. Free memory
available within the portable streaming device is continuously allocated
(50) and at least a portion of said allocated free memory is designated
as disk scheduler buffer memory (60). Thus results improved solid state
memory utilisation of the portable streaming device, and due to larger
available disk buffer memory size, less start-stop-cycles of the storage
device are initiated, which leads to a longer life-cycle of said portable
streaming device.