Following are few options available to change Heap Size.
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size
java -Xmx256m TestData.java
More Related Contents:
- How do i get an object from another class in java
- Creating a program to file criminal cases and then view them, with new case being allowed to add
- Java number sign and asterisk [closed]
- How to initialize an array in Java?
- Is it possible to switch to an element in a frame without using driver.switchTo().frame(“frameName”) in Selenium Webdriver Java?
- Running jmap getting Unable to open socket file
- When are static variables initialized?
- Why does Math.round(0.49999999999999994) return 1?
- How to set Icon to JFrame
- Why does division by zero with floating point (or double precision) numbers not throw java.lang.ArithmeticException: / by zero in Java
- What’s the default value of char?
- Session is lost and created as new in every servlet request
- Java File – Open A File And Write To It [closed]
- Why does adding 0.1 multiple times remain lossless?
- Static Binding and Dynamic Binding
- Spring hibernate template when to use and why?
- Setting custom key when pushing new data to firebase database
- Jersey 2 injection source for multipart formdata
- How can elements be added to a wildcard generic collection?
- Set capability on already running selenium webdriver
- Why do we have to call super in Android sometimes?
- Get button coordinates and detect if finger is over them – Android
- How to sample microphone on Android without recording to get live amplitude/level?
- How to stop a Runnable scheduled for repeated execution after a certain number of executions
- Importing ant build.xml in Eclipse
- How to use DTO in JSF + Spring + Hibernate
- Log4j2 (2.1) custom plugin not detected by packages attribute
- How to enable enum inheritance
- Proper fix for Java 10 complaining about illegal reflection access by jaxb-impl 2.3.0?
- This view is not constrained