I observed sometimes I am getting max memory is around 494MB and some times only 88MB.
As per my understanding I should always get max memory as 494MB because I have already provided Xmx as 512MB. Also I am not running any memory consuming application on my system or any other java application.
My application need some 400MB memory to run fluently. I observed this on one the Windows Vista(32 bit, 4GB RAM) machine on our lab. Never observed on any other machines with XP and Windows 7.
Can anybody tell me reason behind this strange behavior ?