1. An embedded device having a memory that is organized to store both data objects and meta data (MD) describing locations at which the data objects are stored in the memory, wherein the embedded device is connectable to a remote defragmentation device, wherein the embedded device is adapted to transmit, at the request of the defragmentation device, the meta data and optionally the data objects stored in the memory to the defragmentation device and, in accordance with instructions and data received from the defragmentation device, to update in its memory the meta data and to store the data objects at locations as defined in the updated meta data.