ok, thanks again everybody.
it seems i am generating a lot of garbage due to calculation while the player moves around and due to network messages.
WHich shoudl be short lived yes?
So it shoiuldnt be causing a full GC. Something esle is definitely going on...
btw: which profiler do you recommend (i am using eclipse)
Ive searched and have yet to find a good, usuabl;e, free profiler for Eclipse.
The best free profielr i knwo of is unfrotunately specific to netbeans. You can fidn it on the netbeans page.
there seem to be really lot of them and i dont wanna try every single one out.
edit: btw: is there any way to be notified when a FULL GC happens, other than -verbose:gc? maybe from inside the code?
nope, EXCEPT by connecting to the JPDA (Java Profilign and Debugging Interface), which is hat a profiler does.
But this has an impact on your code performance.