Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Manish Shrotriya CSE300 2014MS Java Memory Model From

Similar presentations


Presentation on theme: "By Manish Shrotriya CSE300 2014MS Java Memory Model From"— Presentation transcript:

1 By Manish Shrotriya CSE300 2014MS Java Memory Model From http://www.artima.com/insidejvm/ed2/jvm6.html

2 By Manish Shrotriya CSE300 2014MS Heap and Method area -Xms, -Xmx -XX:PermSize -XX:MaxPermSize From http://www.artima.com/insidejvm/ed2/jvm6.html Java.lang.OutOfM emoryError: Java heap space PermGen space

3 By Manish Shrotriya CSE300 2014MS Heap and Method area From http://www.artima.com/insidejvm/ed2/jvm6.html

4 By Manish Shrotriya CSE300 2014MS Java Stack Frame Local variable Operand Stack Frame Data method's parameters local variables Working area Data about method logic ( normal or exceptional return, other objects) -XX:ThreadStackSize option to configure size of stackframe: if this is full java.lang.StackOverFlowError

5 By Manish Shrotriya CSE300 2014MS Java Stack Frame Local variable Operand Stack Frame Data Local variable Operand Stack Frame Data Method2() Method1() method1 is calling method2 Java Stack Frame Memory

6 By Manish Shrotriya CSE300 2014MS Java Memory Model From http://www.artima.com/insidejvm/ed2/jvm6.html


Download ppt "By Manish Shrotriya CSE300 2014MS Java Memory Model From"

Similar presentations


Ads by Google