Try using 'top' and press capital "M" to sort by memory usage. That should give an indication of what could possibly be taking up your memory.