<p>I know we can use tools like JProfiler etc.
Is there any tutorial on how to configure it to display the memory usage just by remote monitoring?</p>

<p>Any idea?</p>

you have VisualGC, it's not very advanced but you can see the memory usage of your application (garbage,old, perm etc...)
http://java.sun.com/performance/jvmstat/visualgc.html
to resume : 
you launch a daemon monitoring on the remote machine (
http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstatd.html
, see the security parapraph)
```
```
JAVA_HOME/bin/jstatd -J-Djava.security.policy=jstatd.all.policy
```
```
with a file here called
jstatd.all.policy
containing :
```
```
grant codebase "file:${java.home}/../lib/tools.jar" {   
permission java.security.AllPermission;
};
```
```
on the remote machine you got the pid of your application to debug with the jps tool :
http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html#jps
finally on your local machine you launch the visualgc :
```
```
visualgc the_pid@remote_machine_address
```
```