Let $X, Y$ be a banach spaces, $A\in \mathcal{L} (X,Y)$ , there is a proposition that affirms that if $X$ is reflexive , and for any $ x_n\rightarrow x$ weakly in $X$ we have that $ Ax_n\rightarrow Ax$ when $ n\rightarrow \infty$ then $ A$ is compact.
I have proved it using Eberlain-Smulyain theorem, so it trivial this way the proof I think. But I can't find any counterexample that $A$ doesn't have to be comapct if $X$ is not reflexive.