A method, at a host device, of managing a random access memory of a display control device connectable to the host device, the display control device being adapted to use the random access memory for storing compressed portions of a frame of display data, each portion forming a part of an image sent from the host device, wherein the display control device is adapted to decompress the compressed portions of the frame of display data from the random access memory, the method comprising: maintaining a map at the host device corresponding to the random access memory, the map indicating locations corresponding to addresses of the random access memory at which data is stored or not; determining, using the map, free space available in the random access memory by determining a location on the map corresponding to addresses in the random access memory where a compressed predetermined portion of a frame of display data would fit into the random access memory; based on the determined free space available, determining whether the random access memory is expected to run out of free space before all the display data of a current frame is compressed and sent; in response to the random access memory being expected to run out of free space before all the display data of the current frame is compressed and sent, selecting compression parameters in order to increase the compression of the display data so that all compressed portions of the current frame of display data not yet sent to the display control device will fit into free space in the random access memory; compressing the portions of display data of the current frame not yet sent to the display control device using the selected compression parameters; sending, to the display control device, one or more addresses in the random access memory corresponding to the determined free space in the random access memory, together with the portions of display data compressed using the selected compression parameters; sending, to the display control device, information regarding an order in which the compressed portions of display data in the random access memory are to be decompressed and combined to display the image on a display; and updating the location on the map corresponding to the address in the random access memory to indicate that the address has data stored in it. maintaining a map at the host device corresponding to the random access memory, the map indicating locations corresponding to addresses of the random access memory at which data is stored or not; determining, using the map, free space available in the random access memory by determining a location on the map corresponding to addresses in the random access memory where a compressed predetermined portion of a frame of display data would fit into the random access memory; based on the determined free space available, determining whether the random access memory is expected to run out of free space before all the display data of a current frame is compressed and sent; in response to the random access memory being expected to run out of free space before all the display data of the current frame is compressed and sent, selecting compression parameters in order to increase the compression of the display data so that all compressed portions of the current frame of display data not yet sent to the display control device will fit into free space in the random access memory; compressing the portions of display data of the current frame not yet sent to the display control device using the selected compression parameters; sending, to the display control device, one or more addresses in the random access memory corresponding to the determined free space in the random access memory, together with the portions of display data compressed using the selected compression parameters; sending, to the display control device, information regarding an order in which the compressed portions of display data in the random access memory are to be decompressed and combined to display the image on a display; and