I'm using System.totalMemory calls before and after some remote server
calls to measure impact on memory of loading some data from the
server. I realize this can be very inaccurate and misleading since I
don't know when the garbage collection kicks in. I understand there is
no way to force garbage collection with some kind of System.gc() call.
So how does one get an accurate measure of memory impact of a set of
operations?

Thanks
Vijay



Reply via email to