Remove components from memory but still display for client

Hey I am providing a console/terminal for my users which typically get filled with a lot of data that my server doesnt really need to store, so I hoped I could remove them on the server side but still display them to the client/user.
Can this be done? If so how? Maybe Component.removeFromTree() ?