- What are the differences between the Java memory spaces (Perm Space, Space Stack, Heap Space)?
- When does the JVM use one or another?
- If I use Scala/Groovy/etc., are there differences?
Simply
For example:
Student std = new Student();
after executing the line above memory status will be like this.