In java we can define max memory that process can take using xmx parameter. For perm gen we can define the MaxPermSize. So is the perm gen space is also part of memory allocated using
xmx parameter.
so is xmx = young + old OR young + old + perm OR young + old + perm + Stack space ?
No, the permanent generation space is a separate memory area. Here is a nice picture illustrating it visually:
Source: Process heap, Eden, Tenured and Permgen.