This content has been marked as final. Show 2 replies
Make sure that Total Heap + Native memory will be consider as total Memory.
That means in 32 bit you will have only at most 4 GB for process + additional 2 GB for OS.
So let assume if you have 4GM RAM then out of the 4GB you can allocate 2GB as Heap and 512m as Perm in case of Hot spot and remaining will be consider as Native memory.
But in case of 64 bit will change you will have good amount of the memory so you can use plenty of Heap and Perm size.
Still if you have query let me know.