Maximal dimension of vector space



For n a positive integer, let V be a real vector space containing n x
n real matrices
such that trace(A B) = 0 for each A,B in V.
What is the maximal dimension for such a V?

Thank you,
Mate

.