This post will show you hoe to delete the history of your chat messages in osx iMessage.
firstly, you should disable chat history, this will stop all chats from being stored (but it wont delete the ones already saved)
to disable chat history goto:
imessage > preferences > messages
untick the ‘save history when conversations are closed’ option