Heap memory vs object memory
According to a paper about Java memory and characteristics: "... The memory score partitions into two types: heap memory, which is the memory consumed by the application during runtime, and object memory, which is the memory allocated by various objects used in the program, such as integers and strings, etc. ..." Do they mean the stack memory when they say object memory, or what do they mean? (confused since, if I am not wrong, objects are allocated in the heap in Java) Second question, if I simply want to measure the total size of the heap and stack during a full program execution, what tool